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