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