1 instantiation of ParameterGenerationSpec
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1510
constructorParameters[i] = new
ParameterGenerationSpec
15 references to ParameterGenerationSpec
System.Text.Json.SourceGeneration (15)
JsonSourceGenerator.Emitter.cs (4)
730
ImmutableEquatableArray<
ParameterGenerationSpec
> parameters = typeGenerationSpec.CtorParamGenSpecs;
740
foreach (
ParameterGenerationSpec
spec in parameters)
933
ImmutableEquatableArray<
ParameterGenerationSpec
> parameters = typeGenerationSpec.CtorParamGenSpecs;
942
foreach (
ParameterGenerationSpec
param in parameters)
JsonSourceGenerator.Parser.cs (10)
522
ParameterGenerationSpec
[]? ctorParamSpecs = null;
671
CtorParamGenSpecs = ctorParamSpecs?.ToImmutableEquatableArray() ?? ImmutableEquatableArray<
ParameterGenerationSpec
>.Empty,
1466
private
ParameterGenerationSpec
[]? ParseConstructorParameters(
1481
ParameterGenerationSpec
[] constructorParameters;
1495
constructorParameters = new
ParameterGenerationSpec
[paramCount];
1526
ParameterGenerationSpec
[]? constructorParameters,
1567
ParameterGenerationSpec
? matchingConstructorParameter = GetMatchingConstructorParameter(property, constructorParameters);
1585
static
ParameterGenerationSpec
? GetMatchingConstructorParameter(PropertyGenerationSpec propSpec,
ParameterGenerationSpec
[]? paramGenSpecs)
1589
bool MatchesConstructorParameter(
ParameterGenerationSpec
paramSpec)
Model\TypeGenerationSpec.cs (1)
72
public required ImmutableEquatableArray<
ParameterGenerationSpec
> CtorParamGenSpecs { get; init; }