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)
5916
var handlerPlaceholders = operand.GetInterpolatedStringHandlerData().
ArgumentPlaceholders
;
Binder\RefSafetyAnalysis.cs (1)
708
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)
9329
Debug.Assert(handlerData.
ArgumentPlaceholders
.IsEmpty
9330
|| handlerData.
ArgumentPlaceholders
.Single().ArgumentIndex == BoundInterpolatedStringArgumentPlaceholder.TrailingConstructorValidityParameter);
9336
foreach (var placeholder in handlerData.
ArgumentPlaceholders
)
9364
foreach (var placeholder in handlerData.
ArgumentPlaceholders
)
Lowering\LocalRewriter\LocalRewriter_Call.cs (5)
841
if (interpolationData.
ArgumentPlaceholders
.Length > (interpolationData.HasTrailingHandlerValidityParameter ? 1 : 0))
851
foreach (var placeholder in interpolationData.
ArgumentPlaceholders
)
899
return interpolationData.
ArgumentPlaceholders
;
912
if (interpolationData.
ArgumentPlaceholders
.Length > (interpolationData.HasTrailingHandlerValidityParameter ? 1 : 0))
916
foreach (var placeholder in interpolationData.
ArgumentPlaceholders
)
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (2)
56
BoundInterpolatedStringArgumentPlaceholder trailingParameter = data.
ArgumentPlaceholders
[^1];
92
RemovePlaceholderReplacement(data.
ArgumentPlaceholders
[^1]);