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