1 instantiation of ParameterGenerationSpec
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1479
constructorParameters[i] = new
ParameterGenerationSpec
14 references to ParameterGenerationSpec
System.Text.Json.SourceGeneration (14)
JsonSourceGenerator.Emitter.cs (4)
717
ImmutableEquatableArray<
ParameterGenerationSpec
> parameters = typeGenerationSpec.CtorParamGenSpecs;
727
foreach (
ParameterGenerationSpec
spec in parameters)
917
ImmutableEquatableArray<
ParameterGenerationSpec
> parameters = typeGenerationSpec.CtorParamGenSpecs;
926
foreach (
ParameterGenerationSpec
param in parameters)
JsonSourceGenerator.Parser.cs (10)
516
ParameterGenerationSpec
[]? ctorParamSpecs = null;
665
CtorParamGenSpecs = ctorParamSpecs?.ToImmutableEquatableArray() ?? ImmutableEquatableArray<
ParameterGenerationSpec
>.Empty,
1435
private
ParameterGenerationSpec
[]? ParseConstructorParameters(
1450
ParameterGenerationSpec
[] constructorParameters;
1464
constructorParameters = new
ParameterGenerationSpec
[paramCount];
1495
ParameterGenerationSpec
[]? constructorParameters,
1531
ParameterGenerationSpec
? matchingConstructorParameter = GetMatchingConstructorParameter(property, constructorParameters);
1549
static
ParameterGenerationSpec
? GetMatchingConstructorParameter(PropertyGenerationSpec propSpec,
ParameterGenerationSpec
[]? paramGenSpecs)
1553
bool MatchesConstructorParameter(
ParameterGenerationSpec
paramSpec)