1 write to ArgsIndex
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
2875
ArgsIndex
= currentArgsIndex,
5 references to ArgsIndex
System.Text.Json.SourceGeneration (5)
JsonSourceGenerator.Emitter.cs (4)
1488
Debug.Assert(spec.
ArgsIndex
>= 0);
1494
Position = {{spec.
ArgsIndex
}},
1706
sb.Append($"var __temp{param.ParameterIndex} = ({param.ParameterType.FullyQualifiedName})args[{param.
ArgsIndex
}]; ");
1770
_ => $"({param.ParameterType.FullyQualifiedName})args[{param.
ArgsIndex
}]", // None or In (in doesn't require keyword at call site)
JsonSourceGenerator.Parser.cs (1)
2943
ParameterIndex = matchingConstructorParameter?.
ArgsIndex
?? paramCount++,