12 references to JsonObjectCreationHandling
System.Text.Json.SourceGeneration (12)
JsonSourceGenerator.Emitter.cs (2)
1240
if (optionsSpec.PreferredObjectCreationHandling is
JsonObjectCreationHandling
preferredObjectCreationHandling)
1438
private static string FormatObjectCreationHandling(
JsonObjectCreationHandling
creationHandling)
JsonSourceGenerator.Parser.cs (8)
279
JsonObjectCreationHandling
? preferredObjectCreationHandling = null;
368
preferredObjectCreationHandling = (
JsonObjectCreationHandling
)namedArg.Value.Value!;
526
out
JsonObjectCreationHandling
? preferredPropertyObjectCreationHandling,
687
out
JsonObjectCreationHandling
? objectCreationHandling,
715
objectCreationHandling = (
JsonObjectCreationHandling
)attributeData.ConstructorArguments[0].Value!;
1131
out
JsonObjectCreationHandling
? objectCreationHandling,
1236
out
JsonObjectCreationHandling
? objectCreationHandling,
1300
objectCreationHandling = (
JsonObjectCreationHandling
)ctorArgs[0].Value!;
Model\PropertyGenerationSpec.cs (1)
121
/// The <see cref="
JsonObjectCreationHandling
"/> for the property.
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
101
public
JsonObjectCreationHandling
PreferredObjectCreationHandling { get; set; }