1 instantiation of ParameterGenerationSpec
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1572constructorParameters[i] = new ParameterGenerationSpec
15 references to ParameterGenerationSpec
System.Text.Json.SourceGeneration (15)
JsonSourceGenerator.Emitter.cs (4)
730ImmutableEquatableArray<ParameterGenerationSpec> parameters = typeGenerationSpec.CtorParamGenSpecs; 740foreach (ParameterGenerationSpec spec in parameters) 933ImmutableEquatableArray<ParameterGenerationSpec> parameters = typeGenerationSpec.CtorParamGenSpecs; 942foreach (ParameterGenerationSpec param in parameters)
JsonSourceGenerator.Parser.cs (10)
579ParameterGenerationSpec[]? ctorParamSpecs = null; 728CtorParamGenSpecs = ctorParamSpecs?.ToImmutableEquatableArray() ?? ImmutableEquatableArray<ParameterGenerationSpec>.Empty, 1528private ParameterGenerationSpec[]? ParseConstructorParameters( 1543ParameterGenerationSpec[] constructorParameters; 1557constructorParameters = new ParameterGenerationSpec[paramCount]; 1588ParameterGenerationSpec[]? constructorParameters, 1629ParameterGenerationSpec? matchingConstructorParameter = GetMatchingConstructorParameter(property, constructorParameters); 1647static ParameterGenerationSpec? GetMatchingConstructorParameter(PropertyGenerationSpec propSpec, ParameterGenerationSpec[]? paramGenSpecs) 1651bool MatchesConstructorParameter(ParameterGenerationSpec paramSpec)
Model\TypeGenerationSpec.cs (1)
72public required ImmutableEquatableArray<ParameterGenerationSpec> CtorParamGenSpecs { get; init; }