23 references to Comment
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
235case 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.CodeAnalysis.LanguageServer.Protocol (2)
Protocol\Converters\FormattingOptionsConverter.cs (2)
34while (reader.TokenType == JsonTokenType.Comment); 67if (reader.TokenType == JsonTokenType.Comment)
System.Text.Json (18)
System\Text\Json\Document\JsonElement.cs (1)
1673case JsonTokenType.Comment:
System\Text\Json\Reader\Utf8JsonReader.cs (10)
928if (_readerOptions.CommentHandling == JsonCommentHandling.Allow && _tokenType == JsonTokenType.Comment) 1733if (_tokenType == JsonTokenType.Comment) 1841Debug.Assert(_tokenType == JsonTokenType.Comment); 1852Debug.Assert(_tokenType != JsonTokenType.Comment); 2530if (_tokenType != JsonTokenType.Comment) 2534_tokenType = JsonTokenType.Comment; 2548if (_tokenType != JsonTokenType.Comment) 2552_tokenType = JsonTokenType.Comment; 2565JsonTokenType.Comment => nameof(JsonTokenType.Comment),
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (6)
236if (_readerOptions.CommentHandling == JsonCommentHandling.Allow && _tokenType == JsonTokenType.Comment) 1565if (_tokenType == JsonTokenType.Comment) 1682Debug.Assert(_tokenType == JsonTokenType.Comment); 1693Debug.Assert(_tokenType != JsonTokenType.Comment); 2207if (_tokenType != JsonTokenType.Comment) 2212_tokenType = JsonTokenType.Comment;
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (1)
241if (TokenType != JsonTokenType.Comment)