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