2 writes to ArgumentPlaceholders
Microsoft.CodeAnalysis.CSharp (2)
BoundTree\InterpolatedStringHandlerData.cs (2)
45ArgumentPlaceholders = placeholders; 55ArgumentPlaceholders = default;
15 references to ArgumentPlaceholders
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Expressions.cs (1)
5913var handlerPlaceholders = operand.GetInterpolatedStringHandlerData().ArgumentPlaceholders;
Binder\RefSafetyAnalysis.cs (1)
683foreach (var placeholder in interpolationData.ArgumentPlaceholders)
BoundTree\InterpolatedStringHandlerData.cs (2)
23public bool HasTrailingHandlerValidityParameter => ArgumentPlaceholders.Length > 0 && ArgumentPlaceholders[^1].ArgumentIndex == BoundInterpolatedStringArgumentPlaceholder.TrailingConstructorValidityParameter;
FlowAnalysis\NullableWalker.cs (4)
9271Debug.Assert(handlerData.ArgumentPlaceholders.IsEmpty 9272|| handlerData.ArgumentPlaceholders.Single().ArgumentIndex == BoundInterpolatedStringArgumentPlaceholder.TrailingConstructorValidityParameter); 9278foreach (var placeholder in handlerData.ArgumentPlaceholders) 9306foreach (var placeholder in handlerData.ArgumentPlaceholders)
Lowering\LocalRewriter\LocalRewriter_Call.cs (5)
842if (interpolationData.ArgumentPlaceholders.Length > (interpolationData.HasTrailingHandlerValidityParameter ? 1 : 0)) 852foreach (var placeholder in interpolationData.ArgumentPlaceholders) 900return interpolationData.ArgumentPlaceholders; 913if (interpolationData.ArgumentPlaceholders.Length > (interpolationData.HasTrailingHandlerValidityParameter ? 1 : 0)) 917foreach (var placeholder in interpolationData.ArgumentPlaceholders)
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (2)
56BoundInterpolatedStringArgumentPlaceholder trailingParameter = data.ArgumentPlaceholders[^1]; 92RemovePlaceholderReplacement(data.ArgumentPlaceholders[^1]);