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