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) 1758if (_tokenType == JsonTokenType.Comment) 1866Debug.Assert(_tokenType == JsonTokenType.Comment); 1877Debug.Assert(_tokenType != JsonTokenType.Comment); 2555if (_tokenType != JsonTokenType.Comment) 2559_tokenType = JsonTokenType.Comment; 2573if (_tokenType != JsonTokenType.Comment) 2577_tokenType = JsonTokenType.Comment; 2590JsonTokenType.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)