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