2 writes to ArgumentIndex
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
7881
this.
ArgumentIndex
= argumentIndex;
7890
this.
ArgumentIndex
= argumentIndex;
21 references to ArgumentIndex
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_Expressions.cs (1)
5917
if (handlerPlaceholders.Any(static placeholder => placeholder.
ArgumentIndex
== BoundInterpolatedStringArgumentPlaceholder.InstanceParameter))
Binder\RefSafetyAnalysis.cs (2)
711
int argIndex = placeholder.
ArgumentIndex
;
744
throw ExceptionUtilities.UnexpectedValue(placeholder.
ArgumentIndex
);
BoundTree\InterpolatedStringHandlerData.cs (1)
23
public bool HasTrailingHandlerValidityParameter => ArgumentPlaceholders.Length > 0 && ArgumentPlaceholders[^1].
ArgumentIndex
== BoundInterpolatedStringArgumentPlaceholder.TrailingConstructorValidityParameter;
FlowAnalysis\NullableWalker.cs (6)
9330
|| handlerData.ArgumentPlaceholders.Single().
ArgumentIndex
== BoundInterpolatedStringArgumentPlaceholder.TrailingConstructorValidityParameter);
9338
switch (placeholder.
ArgumentIndex
)
9348
if (previousArgumentConversionResults.Count > placeholder.
ArgumentIndex
)
9353
AddPlaceholderReplacement(placeholder, expression: null, previousArgumentConversionResults[placeholder.
ArgumentIndex
]);
9366
if (placeholder.
ArgumentIndex
< previousArgumentConversionResults.Count && placeholder.
ArgumentIndex
>= 0)
Generated\BoundNodes.xml.Generated.cs (4)
7901
if (argumentIndex != this.
ArgumentIndex
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
12072
return node.Update(node.
ArgumentIndex
, type);
14704
BoundInterpolatedStringArgumentPlaceholder updatedNode = node.Update(node.
ArgumentIndex
, infoAndType.Type!);
16914
new TreeDumperNode("argumentIndex", node.
ArgumentIndex
, null),
Lowering\LocalRewriter\LocalRewriter_Call.cs (3)
763
if (placeholder.
ArgumentIndex
== BoundInterpolatedStringArgumentPlaceholder.TrailingConstructorValidityParameter)
854
var argIndex = placeholder.
ArgumentIndex
;
918
if (placeholder.
ArgumentIndex
== BoundInterpolatedStringArgumentPlaceholder.InstanceParameter)
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
244
a => a is BoundInterpolatedStringArgumentPlaceholder {
ArgumentIndex
: BoundInterpolatedStringArgumentPlaceholder.TrailingConstructorValidityParameter }
Operations\CSharpOperationFactory.cs (3)
2487
if (placeholder.
ArgumentIndex
== BoundInterpolatedStringArgumentPlaceholder.UnspecifiedParameter)
2494
var (placeholderKind, argumentIndex) = placeholder.
ArgumentIndex
switch
2499
_ => throw ExceptionUtilities.UnexpectedValue(placeholder.
ArgumentIndex
)