1 instantiation of PropertyGenerationSpec
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1205return new PropertyGenerationSpec
18 references to PropertyGenerationSpec
System.Text.Json.SourceGeneration (18)
JsonSourceGenerator.Emitter.cs (4)
601ImmutableEquatableArray<PropertyGenerationSpec> properties = typeGenerationSpec.PropertyGenSpecs; 612PropertyGenerationSpec property = properties[i]; 805PropertyGenerationSpec propertyGenSpec = typeGenSpec.PropertyGenSpecs[i]; 1062private static SerializedValueCheckType GetCheckType(ContextGenerationSpec contextSpec, PropertyGenerationSpec propertySpec)
JsonSourceGenerator.Parser.cs (12)
518List<PropertyGenerationSpec>? propertySpecs = null; 668PropertyGenSpecs = propertySpecs?.ToImmutableEquatableArray() ?? ImmutableEquatableArray<PropertyGenerationSpec>.Empty, 916private List<PropertyGenerationSpec> ParsePropertyGenerationSpecs( 924List<PropertyGenerationSpec> properties = new(); 995PropertyGenerationSpec? propertySpec = ParsePropertyGenerationSpec( 1035public Dictionary<string, (PropertyGenerationSpec, ISymbol, int index)> AddedProperties = new(options?.PropertyNameCaseInsensitive == true ? StringComparer.OrdinalIgnoreCase : StringComparer.Ordinal); 1048PropertyGenerationSpec propertySpec, 1064(PropertyGenerationSpec other, ISymbol otherSymbol, int index) = state.AddedProperties[propertySpec.EffectiveJsonPropertyName]; 1118private PropertyGenerationSpec? ParsePropertyGenerationSpec( 1502List<PropertyGenerationSpec>? properties, 1516foreach (PropertyGenerationSpec property in properties) 1560static ParameterGenerationSpec? GetMatchingConstructorParameter(PropertyGenerationSpec propSpec, ParameterGenerationSpec[]? paramGenSpecs)
Model\TypeGenerationSpec.cs (2)
63public required ImmutableEquatableArray<PropertyGenerationSpec> PropertyGenSpecs { get; init; } 120foreach (PropertyGenerationSpec property in PropertyGenSpecs)