1 write to InferClosedTypePolymorphism
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
623
InferClosedTypePolymorphism
= inferClosedTypePolymorphism,
5 references to InferClosedTypePolymorphism
System.Text.Json.SourceGeneration (5)
JsonSourceGenerator.Emitter.cs (1)
2125
if (optionsSpec.
InferClosedTypePolymorphism
is bool inferClosedTypePolymorphism)
JsonSourceGenerator.Parser.cs (3)
923
options?.
InferClosedTypePolymorphism
is not true &&
1140
(inferClosedTypePolymorphismOverride ?? (options?.
InferClosedTypePolymorphism
is true)) &&
1143
options?.
InferClosedTypePolymorphism
is not true &&
Model\TypeGenerationSpec.cs (1)
58
/// (because <see cref="SourceGenerationOptionsSpec.
InferClosedTypePolymorphism
"/> was not enabled).