1 write to ArgsIndex
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1704ArgsIndex = currentArgsIndex,
5 references to ArgsIndex
System.Text.Json.SourceGeneration (5)
JsonSourceGenerator.Emitter.cs (4)
1267Debug.Assert(spec.ArgsIndex >= 0); 1273Position = {{spec.ArgsIndex}}, 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)
JsonSourceGenerator.Parser.cs (1)
1772ParameterIndex = matchingConstructorParameter?.ArgsIndex ?? paramCount++,