1 write to PreferredPropertyObjectCreationHandling
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
661PreferredPropertyObjectCreationHandling = preferredPropertyObjectCreationHandling,
3 references to PreferredPropertyObjectCreationHandling
System.Text.Json.SourceGeneration (3)
JsonSourceGenerator.Emitter.cs (3)
558if (typeMetadata is { UnmappedMemberHandling: not null } or { PreferredPropertyObjectCreationHandling: not null }) 567if (typeMetadata.PreferredPropertyObjectCreationHandling != null) 569writer.WriteLine($"{JsonTypeInfoLocalVariableName}.{PreferredPropertyObjectCreationHandlingPropName} = {FormatObjectCreationHandling(typeMetadata.PreferredPropertyObjectCreationHandling.Value)};");