21 references to Comment
Aspire.Dashboard (1)
Model\TextVisualizerViewModel.cs (1)
185
case JsonTokenType.
Comment
:
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\ValueConverter.cs (1)
39
case JsonTokenType.
Comment
:
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
506
case JsonTokenType.
Comment
:
System.Text.Json (18)
System\Text\Json\Document\JsonElement.cs (1)
1669
case JsonTokenType.
Comment
:
System\Text\Json\Reader\Utf8JsonReader.cs (10)
928
if (_readerOptions.CommentHandling == JsonCommentHandling.Allow && _tokenType == JsonTokenType.
Comment
)
1766
if (_tokenType == JsonTokenType.
Comment
)
1874
Debug.Assert(_tokenType == JsonTokenType.
Comment
);
1885
Debug.Assert(_tokenType != JsonTokenType.
Comment
);
2563
if (_tokenType != JsonTokenType.
Comment
)
2567
_tokenType = JsonTokenType.
Comment
;
2581
if (_tokenType != JsonTokenType.
Comment
)
2585
_tokenType = JsonTokenType.
Comment
;
2598
JsonTokenType.
Comment
=> nameof(JsonTokenType.
Comment
),
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (6)
236
if (_readerOptions.CommentHandling == JsonCommentHandling.Allow && _tokenType == JsonTokenType.
Comment
)
1557
if (_tokenType == JsonTokenType.
Comment
)
1674
Debug.Assert(_tokenType == JsonTokenType.
Comment
);
1685
Debug.Assert(_tokenType != JsonTokenType.
Comment
);
2199
if (_tokenType != JsonTokenType.
Comment
)
2204
_tokenType = JsonTokenType.
Comment
;
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (1)
241
if (TokenType != JsonTokenType.
Comment
)