6 references to Disallow
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
928ReadCommentHandling = JsonCommentHandling.Disallow,
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (1)
EmbeddedLanguages\Json\CSharpJsonParserTests.cs (1)
205JsonDocument.Parse(token.ValueText, new JsonDocumentOptions { AllowTrailingCommas = false, CommentHandling = JsonCommentHandling.Disallow });
System.Text.Json (4)
System\Text\Json\Reader\Utf8JsonReader.cs (2)
1080case JsonCommentHandling.Disallow: 1725if (_readerOptions.CommentHandling != JsonCommentHandling.Disallow)
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (2)
440case JsonCommentHandling.Disallow: 1564if (_readerOptions.CommentHandling != JsonCommentHandling.Disallow)