1 instantiation of ParameterGenerationSpec
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1426constructorParameters[i] = new ParameterGenerationSpec
15 references to ParameterGenerationSpec
System.Text.Json.SourceGeneration (15)
JsonSourceGenerator.Emitter.cs (4)
687ImmutableEquatableArray<ParameterGenerationSpec> parameters = typeGenerationSpec.CtorParamGenSpecs; 699foreach (ParameterGenerationSpec spec in parameters) 848ImmutableEquatableArray<ParameterGenerationSpec> parameters = typeGenerationSpec.CtorParamGenSpecs; 857foreach (ParameterGenerationSpec param in parameters)
JsonSourceGenerator.Parser.cs (11)
498ParameterGenerationSpec[]? ctorParamSpecs = null; 641CtorParamGenSpecs = ctorParamSpecs?.ToImmutableEquatableArray() ?? ImmutableEquatableArray<ParameterGenerationSpec>.Empty, 1390private ParameterGenerationSpec[]? ParseConstructorParameters( 1405ParameterGenerationSpec[] constructorParameters; 1412constructorParameters = Array.Empty<ParameterGenerationSpec>(); 1419constructorParameters = new ParameterGenerationSpec[paramCount]; 1441ParameterGenerationSpec[]? constructorParameters, 1477ParameterGenerationSpec? matchingConstructorParameter = GetMatchingConstructorParameter(property, constructorParameters); 1494static ParameterGenerationSpec? GetMatchingConstructorParameter(PropertyGenerationSpec propSpec, ParameterGenerationSpec[]? paramGenSpecs) 1498bool MatchesConstructorParameter(ParameterGenerationSpec paramSpec)