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

◆ ValueTextEquals() [1/3]

bool System.Text.Json.Utf8JsonReader.ValueTextEquals ( ReadOnlySpan< byte > utf8Text)
inline

Definition at line 296 of file Utf8JsonReader.cs.

297 {
298 if (!IsTokenTypeString(TokenType))
299 {
300 throw ThrowHelper.GetInvalidOperationException_ExpectedStringComparison(TokenType);
301 }
303 }
static bool IsTokenTypeString(JsonTokenType tokenType)
bool TextEqualsHelper(ReadOnlySpan< byte > otherUtf8Text)

References System.Text.Json.Dictionary, System.Text.Json.ThrowHelper.GetInvalidOperationException_ExpectedStringComparison(), System.Text.Json.Utf8JsonReader.IsTokenTypeString(), and System.Text.Json.Utf8JsonReader.TextEqualsHelper().

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