1 write to ParameterIndex
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
2867ParameterIndex = i,
8 references to ParameterIndex
System.Text.Json.SourceGeneration (8)
JsonSourceGenerator.Emitter.cs (8)
1440wrapperParams.Append($"{refModifier}{parameterTypeFQN} p{param.ParameterIndex}"); 1441callArgs.Append(param.RefKind is RefKind.Out ? "null" : $"p{param.ParameterIndex}"); 1481writer.WriteLine($"p{param.ParameterIndex} = ({param.ParameterType.FullyQualifiedName})args[{param.ParameterIndex}]!;"); 1779sb.Append($"var __temp{param.ParameterIndex} = ({param.ParameterType.FullyQualifiedName})args[{param.ArgsIndex}]; "); 1839RefKind.Ref => $"ref __temp{param.ParameterIndex}", 1840RefKind.Out => $"out var __discard{param.ParameterIndex}", 1841RefKindRefReadOnlyParameter => $"in __temp{param.ParameterIndex}",