1 instantiation of ParameterGenerationSpec
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1510constructorParameters[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)
522ParameterGenerationSpec[]? ctorParamSpecs = null; 671CtorParamGenSpecs = ctorParamSpecs?.ToImmutableEquatableArray() ?? ImmutableEquatableArray<ParameterGenerationSpec>.Empty, 1466private ParameterGenerationSpec[]? ParseConstructorParameters( 1481ParameterGenerationSpec[] constructorParameters; 1495constructorParameters = new ParameterGenerationSpec[paramCount]; 1526ParameterGenerationSpec[]? constructorParameters, 1567ParameterGenerationSpec? matchingConstructorParameter = GetMatchingConstructorParameter(property, constructorParameters); 1585static ParameterGenerationSpec? GetMatchingConstructorParameter(PropertyGenerationSpec propSpec, ParameterGenerationSpec[]? paramGenSpecs) 1589bool MatchesConstructorParameter(ParameterGenerationSpec paramSpec)
Model\TypeGenerationSpec.cs (1)
72public required ImmutableEquatableArray<ParameterGenerationSpec> CtorParamGenSpecs { get; init; }