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