1 write to ParameterType
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
2263
ParameterType
= parameterTypeRef,
7 references to ParameterType
System.Text.Json.SourceGeneration (7)
JsonSourceGenerator.Emitter.cs (7)
529
: $$"""new[] {{{string.Join(", ", typeMetadata.CtorParamGenSpecs.Select(p => $"typeof({p.
ParameterType
.FullyQualifiedName})"))}}}""";
1291
wrapperParams.Append($"{param.
ParameterType
.FullyQualifiedName} p{param.ParameterIndex}");
1308
: $"new global::System.Type[] {{{string.Join(", ", parameters.Select(p => $"typeof({p.
ParameterType
.FullyQualifiedName})"))}}}";
1384
ParameterType = typeof({{spec.
ParameterType
.FullyQualifiedName}}),
1387
DefaultValue = {{(spec.HasDefaultValue ? CSharpSyntaxUtilities.FormatLiteral(spec.DefaultValue, spec.
ParameterType
) : "null")}},
1597
sb.Append($"var __temp{param.ParameterIndex} = ({param.
ParameterType
.FullyQualifiedName})args[{param.ArgsIndex}]; ");
1661
_ => $"({param.
ParameterType
.FullyQualifiedName})args[{param.ArgsIndex}]", // None or In (in doesn't require keyword at call site)