2 writes to ArgumentIndex
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
7879
this.
ArgumentIndex
= argumentIndex;
7888
this.
ArgumentIndex
= argumentIndex;
21 references to ArgumentIndex
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_Expressions.cs (1)
5968
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)
9434
|| handlerData.ArgumentPlaceholders.Single().
ArgumentIndex
== BoundInterpolatedStringArgumentPlaceholder.TrailingConstructorValidityParameter);
9442
switch (placeholder.
ArgumentIndex
)
9452
if (previousArgumentConversionResults.Count > placeholder.
ArgumentIndex
)
9457
AddPlaceholderReplacement(placeholder, expression: null, previousArgumentConversionResults[placeholder.
ArgumentIndex
]);
9470
if (placeholder.
ArgumentIndex
< previousArgumentConversionResults.Count && placeholder.
ArgumentIndex
>= 0)
Generated\BoundNodes.xml.Generated.cs (4)
7899
if (argumentIndex != this.
ArgumentIndex
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
12201
return node.Update(node.
ArgumentIndex
, type);
14847
BoundInterpolatedStringArgumentPlaceholder updatedNode = node.Update(node.
ArgumentIndex
, infoAndType.Type!);
17056
new TreeDumperNode("argumentIndex", node.
ArgumentIndex
, null),
Lowering\LocalRewriter\LocalRewriter_Call.cs (3)
765
if (placeholder.
ArgumentIndex
== BoundInterpolatedStringArgumentPlaceholder.TrailingConstructorValidityParameter)
856
var argIndex = placeholder.
ArgumentIndex
;
920
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
)