1 write to ParameterType
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1699
ParameterType
= parameterTypeRef,
7 references to ParameterType
System.Text.Json.SourceGeneration (7)
JsonSourceGenerator.Emitter.cs (7)
539
: $$"""new[] {{{string.Join(", ", typeMetadata.CtorParamGenSpecs.Select(p => $"typeof({p.
ParameterType
.FullyQualifiedName})"))}}}""";
1179
wrapperParams.Append($"{param.
ParameterType
.FullyQualifiedName} p{param.ParameterIndex}");
1196
: $"new global::System.Type[] {{{string.Join(", ", parameters.Select(p => $"typeof({p.
ParameterType
.FullyQualifiedName})"))}}}";
1272
ParameterType = typeof({{spec.
ParameterType
.FullyQualifiedName}}),
1275
DefaultValue = {{(spec.HasDefaultValue ? CSharpSyntaxUtilities.FormatLiteral(spec.DefaultValue, spec.
ParameterType
) : "null")}},
1487
sb.Append($"var __temp{param.ParameterIndex} = ({param.
ParameterType
.FullyQualifiedName}){ArgsVarName}[{param.ArgsIndex}]; ");
1551
_ => $"({param.
ParameterType
.FullyQualifiedName}){argsVarName}[{param.ArgsIndex}]", // None or In (in doesn't require keyword at call site)