9 references to Strict
Microsoft.CodeAnalysis.Features (9)
EmbeddedLanguages\Json\JsonOptions.cs (4)
23/// Same as <see cref="Strict"/> except that comments are allowed as well. Corresponds to <c>new JsonDocumentOptions 26Comments = 2 | Strict, 28/// Same as <see cref="Strict"/> except that trailing commas are allowed as well. Corresponds to <c>new 31TrailingCommas = 4 | Strict,
EmbeddedLanguages\Json\JsonParser.cs (1)
136var diagnostic3 = options.HasFlag(JsonOptions.Strict)
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDetectionAnalyzer.cs (1)
87var strictTree = JsonParser.TryParse(chars, JsonOptions.Strict);
EmbeddedLanguages\Json\LanguageServices\JsonLanguageDetector.cs (3)
57=> JsonOptions.Strict; 148options = symbol.ContainingType.Name == nameof(JsonDocument) ? JsonOptions.Strict : default; 170options = JsonOptions.Strict;