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

◆ GetInvalidLiteralMultiSegment()

JsonException System.Text.Json.Utf8JsonReader.GetInvalidLiteralMultiSegment ( ReadOnlySpan< byte > span)
inlineprivate

Definition at line 2436 of file Utf8JsonReader.cs.

2437 {
2438 return ThrowHelper.GetJsonReaderException(ref this, span[0] switch
2439 {
2440 116 => ExceptionResource.ExpectedTrue,
2441 102 => ExceptionResource.ExpectedFalse,
2442 _ => ExceptionResource.ExpectedNull,
2443 }, 0, span);
2444 }

References System.Text.Json.Dictionary, and System.Text.Json.ThrowHelper.GetJsonReaderException().

Referenced by System.Text.Json.Utf8JsonReader.CheckLiteralMultiSegment().