2 writes to ArgumentIndex
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
7880
this.
ArgumentIndex
= argumentIndex;
7889
this.
ArgumentIndex
= argumentIndex;
21 references to ArgumentIndex
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_Expressions.cs (1)
5914
if (handlerPlaceholders.Any(static placeholder => placeholder.
ArgumentIndex
== BoundInterpolatedStringArgumentPlaceholder.InstanceParameter))
Binder\RefSafetyAnalysis.cs (2)
686
int argIndex = placeholder.
ArgumentIndex
;
719
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)
9272
|| handlerData.ArgumentPlaceholders.Single().
ArgumentIndex
== BoundInterpolatedStringArgumentPlaceholder.TrailingConstructorValidityParameter);
9280
switch (placeholder.
ArgumentIndex
)
9290
if (previousArgumentConversionResults.Count > placeholder.
ArgumentIndex
)
9295
AddPlaceholderReplacement(placeholder, expression: null, previousArgumentConversionResults[placeholder.
ArgumentIndex
]);
9308
if (placeholder.
ArgumentIndex
< previousArgumentConversionResults.Count && placeholder.
ArgumentIndex
>= 0)
Generated\BoundNodes.xml.Generated.cs (4)
7900
if (argumentIndex != this.
ArgumentIndex
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
12035
return node.Update(node.
ArgumentIndex
, type);
14667
BoundInterpolatedStringArgumentPlaceholder updatedNode = node.Update(node.
ArgumentIndex
, infoAndType.Type!);
16877
new TreeDumperNode("argumentIndex", node.
ArgumentIndex
, null),
Lowering\LocalRewriter\LocalRewriter_Call.cs (3)
764
if (placeholder.
ArgumentIndex
== BoundInterpolatedStringArgumentPlaceholder.TrailingConstructorValidityParameter)
855
var argIndex = placeholder.
ArgumentIndex
;
919
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
)