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