14 references to JsonObjectCreationHandling
System.Text.Json.SourceGeneration (14)
JsonSourceGenerator.Emitter.cs (2)
2210
if (optionsSpec.PreferredObjectCreationHandling is
JsonObjectCreationHandling
preferredObjectCreationHandling)
2407
private static string FormatObjectCreationHandling(
JsonObjectCreationHandling
creationHandling)
JsonSourceGenerator.Parser.cs (8)
395
JsonObjectCreationHandling
? preferredObjectCreationHandling = null;
486
preferredObjectCreationHandling = (
JsonObjectCreationHandling
)namedArg.Value.Value!;
681
out
JsonObjectCreationHandling
? preferredPropertyObjectCreationHandling,
944
out
JsonObjectCreationHandling
? objectCreationHandling,
995
objectCreationHandling = (
JsonObjectCreationHandling
)attributeData.ConstructorArguments[0].Value!;
2428
out
JsonObjectCreationHandling
? objectCreationHandling,
2590
out
JsonObjectCreationHandling
? objectCreationHandling,
2670
objectCreationHandling = (
JsonObjectCreationHandling
)ctorArgs[0].Value!;
Model\PropertyGenerationSpec.cs (1)
123
public required
JsonObjectCreationHandling
? ObjectCreationHandling { get; init; }
Model\SourceGenerationOptionsSpec.cs (1)
55
public required
JsonObjectCreationHandling
? PreferredObjectCreationHandling { get; init; }
Model\TypeGenerationSpec.cs (1)
86
public required
JsonObjectCreationHandling
? PreferredPropertyObjectCreationHandling { get; init; }
parent\Common\JsonSourceGenerationOptionsAttribute.cs (1)
108
public
JsonObjectCreationHandling
PreferredObjectCreationHandling { get; set; }