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