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