1 instantiation of ParameterGenerationSpec
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1485constructorParameters[i] = new ParameterGenerationSpec
15 references to ParameterGenerationSpec
System.Text.Json.SourceGeneration (15)
JsonSourceGenerator.Emitter.cs (4)
717ImmutableEquatableArray<ParameterGenerationSpec> parameters = typeGenerationSpec.CtorParamGenSpecs; 727foreach (ParameterGenerationSpec spec in parameters) 920ImmutableEquatableArray<ParameterGenerationSpec> parameters = typeGenerationSpec.CtorParamGenSpecs; 929foreach (ParameterGenerationSpec param in parameters)
JsonSourceGenerator.Parser.cs (10)
522ParameterGenerationSpec[]? ctorParamSpecs = null; 671CtorParamGenSpecs = ctorParamSpecs?.ToImmutableEquatableArray() ?? ImmutableEquatableArray<ParameterGenerationSpec>.Empty, 1441private ParameterGenerationSpec[]? ParseConstructorParameters( 1456ParameterGenerationSpec[] constructorParameters; 1470constructorParameters = new ParameterGenerationSpec[paramCount]; 1501ParameterGenerationSpec[]? constructorParameters, 1542ParameterGenerationSpec? matchingConstructorParameter = GetMatchingConstructorParameter(property, constructorParameters); 1560static ParameterGenerationSpec? GetMatchingConstructorParameter(PropertyGenerationSpec propSpec, ParameterGenerationSpec[]? paramGenSpecs) 1564bool MatchesConstructorParameter(ParameterGenerationSpec paramSpec)
Model\TypeGenerationSpec.cs (1)
72public required ImmutableEquatableArray<ParameterGenerationSpec> CtorParamGenSpecs { get; init; }