1 instantiation of PropertyGenerationSpec
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1292return new PropertyGenerationSpec
18 references to PropertyGenerationSpec
System.Text.Json.SourceGeneration (18)
JsonSourceGenerator.Emitter.cs (4)
601ImmutableEquatableArray<PropertyGenerationSpec> properties = typeGenerationSpec.PropertyGenSpecs; 612PropertyGenerationSpec property = properties[i]; 818PropertyGenerationSpec propertyGenSpec = typeGenSpec.PropertyGenSpecs[i]; 1075private static SerializedValueCheckType GetCheckType(ContextGenerationSpec contextSpec, PropertyGenerationSpec propertySpec)
JsonSourceGenerator.Parser.cs (12)
575List<PropertyGenerationSpec>? propertySpecs = null; 725PropertyGenSpecs = propertySpecs?.ToImmutableEquatableArray() ?? ImmutableEquatableArray<PropertyGenerationSpec>.Empty, 978private List<PropertyGenerationSpec> ParsePropertyGenerationSpecs( 986List<PropertyGenerationSpec> properties = new(); 1057PropertyGenerationSpec? propertySpec = ParsePropertyGenerationSpec( 1097public Dictionary<string, (PropertyGenerationSpec, ISymbol, int index)> AddedProperties = new(options?.PropertyNameCaseInsensitive == true ? StringComparer.OrdinalIgnoreCase : StringComparer.Ordinal); 1110PropertyGenerationSpec propertySpec, 1126(PropertyGenerationSpec other, ISymbol otherSymbol, int index) = state.AddedProperties[propertySpec.EffectiveJsonPropertyName]; 1205private PropertyGenerationSpec? ParsePropertyGenerationSpec( 1589List<PropertyGenerationSpec>? properties, 1603foreach (PropertyGenerationSpec property in properties) 1647static ParameterGenerationSpec? GetMatchingConstructorParameter(PropertyGenerationSpec propSpec, ParameterGenerationSpec[]? paramGenSpecs)
Model\TypeGenerationSpec.cs (2)
63public required ImmutableEquatableArray<PropertyGenerationSpec> PropertyGenSpecs { get; init; } 120foreach (PropertyGenerationSpec property in PropertyGenSpecs)