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