11 references to TokenType
System.Text.Json (11)
System\Text\Json\Document\JsonElement.ArrayEnumerator.cs (1)
27Debug.Assert(target.TokenType == JsonTokenType.StartArray);
System\Text\Json\Document\JsonElement.cs (9)
47public JsonValueKind ValueKind => TokenType.ToValueKind(); 355JsonTokenType type = TokenType; 1448if (TokenType == JsonTokenType.Null) 1476if (TokenType == JsonTokenType.Null) 1504if (TokenType == JsonTokenType.Null) 1582JsonTokenType tokenType = TokenType; 1608JsonTokenType tokenType = TokenType; 1654switch (TokenType) 1677Debug.Fail($"No handler for {nameof(JsonTokenType)}.{TokenType}");
System\Text\Json\Document\JsonElement.ObjectEnumerator.cs (1)
27Debug.Assert(target.TokenType == JsonTokenType.StartObject);