22 references to Comment
Aspire.Dashboard (1)
Model\TextVisualizerViewModel.cs (1)
176case JsonTokenType.Comment:
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\ValueConverter.cs (1)
39case JsonTokenType.Comment:
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
506case JsonTokenType.Comment:
Microsoft.Diagnostics.DataContractReader (1)
ContractDescriptorParser.cs (1)
149case JsonTokenType.Comment:
System.Text.Json (18)
System\Text\Json\Document\JsonElement.cs (1)
1669case JsonTokenType.Comment:
System\Text\Json\Reader\Utf8JsonReader.cs (10)
928if (_readerOptions.CommentHandling == JsonCommentHandling.Allow && _tokenType == JsonTokenType.Comment) 1767if (_tokenType == JsonTokenType.Comment) 1875Debug.Assert(_tokenType == JsonTokenType.Comment); 1886Debug.Assert(_tokenType != JsonTokenType.Comment); 2564if (_tokenType != JsonTokenType.Comment) 2568_tokenType = JsonTokenType.Comment; 2582if (_tokenType != JsonTokenType.Comment) 2586_tokenType = JsonTokenType.Comment; 2599JsonTokenType.Comment => nameof(JsonTokenType.Comment),
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (6)
236if (_readerOptions.CommentHandling == JsonCommentHandling.Allow && _tokenType == JsonTokenType.Comment) 1572if (_tokenType == JsonTokenType.Comment) 1689Debug.Assert(_tokenType == JsonTokenType.Comment); 1700Debug.Assert(_tokenType != JsonTokenType.Comment); 2214if (_tokenType != JsonTokenType.Comment) 2219_tokenType = JsonTokenType.Comment;
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (1)
241if (TokenType != JsonTokenType.Comment)