Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetInvalidOperationException() [1/5]

static InvalidOperationException System.Text.Json.ThrowHelper.GetInvalidOperationException ( ExceptionResource resource,
int currentDepth,
byte token,
JsonTokenType tokenType )
inlinestatic

Definition at line 475 of file ThrowHelper.cs.

476 {
477 string resourceString = GetResourceString(resource, currentDepth, token, tokenType);
479 invalidOperationException.Source = "System.Text.Json.Rethrowable";
481 }
static string GetResourceString(ref Utf8JsonReader json, ExceptionResource resource, byte nextByte, string characters)
static InvalidOperationException GetInvalidOperationException(string message)

References System.Text.Json.Dictionary, System.Text.Json.ThrowHelper.GetInvalidOperationException(), and System.Text.Json.ThrowHelper.GetResourceString().