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) 1506if (TokenType == JsonTokenType.Null) 1586JsonTokenType tokenType = TokenType; 1612JsonTokenType tokenType = TokenType; 1658switch (TokenType) 1681Debug.Fail($"No handler for {nameof(JsonTokenType)}.{TokenType}");
System\Text\Json\Document\JsonElement.ObjectEnumerator.cs (1)
27Debug.Assert(target.TokenType == JsonTokenType.StartObject);