1 instantiation of PropertyGenerationSpec
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1162return new PropertyGenerationSpec
16 references to PropertyGenerationSpec
System.Text.Json.SourceGeneration (16)
JsonSourceGenerator.Emitter.cs (4)
583ImmutableEquatableArray<PropertyGenerationSpec> properties = typeGenerationSpec.PropertyGenSpecs; 594PropertyGenerationSpec property = properties[i]; 766PropertyGenerationSpec propertyGenSpec = typeGenSpec.PropertyGenSpecs[i]; 988private static DefaultCheckType GetDefaultCheckType(ContextGenerationSpec contextSpec, PropertyGenerationSpec propertySpec)
JsonSourceGenerator.Parser.cs (12)
494List<PropertyGenerationSpec>? propertySpecs = null; 638PropertyGenSpecs = propertySpecs?.ToImmutableEquatableArray() ?? ImmutableEquatableArray<PropertyGenerationSpec>.Empty, 886private List<PropertyGenerationSpec> ParsePropertyGenerationSpecs( 894List<PropertyGenerationSpec> properties = new(); 965PropertyGenerationSpec? propertySpec = ParsePropertyGenerationSpec( 1005public Dictionary<string, (PropertyGenerationSpec, ISymbol, int index)> AddedProperties = new(options?.PropertyNameCaseInsensitive == true ? StringComparer.OrdinalIgnoreCase : StringComparer.Ordinal); 1018PropertyGenerationSpec propertySpec, 1034(PropertyGenerationSpec other, ISymbol otherSymbol, int index) = state.AddedProperties[propertySpec.EffectiveJsonPropertyName]; 1088private PropertyGenerationSpec? ParsePropertyGenerationSpec( 1442List<PropertyGenerationSpec>? properties, 1456foreach (PropertyGenerationSpec property in properties) 1494static ParameterGenerationSpec? GetMatchingConstructorParameter(PropertyGenerationSpec propSpec, ParameterGenerationSpec[]? paramGenSpecs)