1 instantiation of PropertyGenerationSpec
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1199return new PropertyGenerationSpec
16 references to PropertyGenerationSpec
System.Text.Json.SourceGeneration (16)
JsonSourceGenerator.Emitter.cs (4)
601ImmutableEquatableArray<PropertyGenerationSpec> properties = typeGenerationSpec.PropertyGenSpecs; 612PropertyGenerationSpec property = properties[i]; 805PropertyGenerationSpec propertyGenSpec = typeGenSpec.PropertyGenSpecs[i]; 1058private static SerializedValueCheckType GetCheckType(ContextGenerationSpec contextSpec, PropertyGenerationSpec propertySpec)
JsonSourceGenerator.Parser.cs (12)
512List<PropertyGenerationSpec>? propertySpecs = null; 662PropertyGenSpecs = propertySpecs?.ToImmutableEquatableArray() ?? ImmutableEquatableArray<PropertyGenerationSpec>.Empty, 910private List<PropertyGenerationSpec> ParsePropertyGenerationSpecs( 918List<PropertyGenerationSpec> properties = new(); 989PropertyGenerationSpec? propertySpec = ParsePropertyGenerationSpec( 1029public Dictionary<string, (PropertyGenerationSpec, ISymbol, int index)> AddedProperties = new(options?.PropertyNameCaseInsensitive == true ? StringComparer.OrdinalIgnoreCase : StringComparer.Ordinal); 1042PropertyGenerationSpec propertySpec, 1058(PropertyGenerationSpec other, ISymbol otherSymbol, int index) = state.AddedProperties[propertySpec.EffectiveJsonPropertyName]; 1112private PropertyGenerationSpec? ParsePropertyGenerationSpec( 1496List<PropertyGenerationSpec>? properties, 1510foreach (PropertyGenerationSpec property in properties) 1549static ParameterGenerationSpec? GetMatchingConstructorParameter(PropertyGenerationSpec propSpec, ParameterGenerationSpec[]? paramGenSpecs)