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