1 write to ParameterType
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1699ParameterType = 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})"))}}}"""; 1179wrapperParams.Append($"{param.ParameterType.FullyQualifiedName} p{param.ParameterIndex}"); 1196: $"new global::System.Type[] {{{string.Join(", ", parameters.Select(p => $"typeof({p.ParameterType.FullyQualifiedName})"))}}}"; 1272ParameterType = typeof({{spec.ParameterType.FullyQualifiedName}}), 1275DefaultValue = {{(spec.HasDefaultValue ? CSharpSyntaxUtilities.FormatLiteral(spec.DefaultValue, spec.ParameterType) : "null")}}, 1487sb.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)