14 references to InterpolatedStringHandlerData
Microsoft.CodeAnalysis.CSharp (14)
BoundTree\BoundNodeExtensions.cs (1)
252
BoundBinaryOperator {
InterpolatedStringHandlerData
: { } d } => d,
FlowAnalysis\AbstractFlowPass.cs (4)
2391
else if (node.
InterpolatedStringHandlerData
is { } data)
2546
while (binary != null && !binary.OperatorKind.IsLogical() && binary.
InterpolatedStringHandlerData
is null);
2682
Debug.Assert(node.
InterpolatedStringHandlerData
.HasValue);
2684
var data = node.
InterpolatedStringHandlerData
.GetValueOrDefault();
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (3)
115
if (node.
InterpolatedStringHandlerData
is InterpolatedStringHandlerData data)
138
if (current.
InterpolatedStringHandlerData
is not null || current.OperatorKind is BinaryOperatorKind.Utf8Addition)
163
Debug.Assert(node.
InterpolatedStringHandlerData
is not null);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
30
BoundBinaryOperator {
InterpolatedStringHandlerData
: { } d } binary => (d, CollectBinaryOperatorInterpolatedStringParts(binary)),
Lowering\MethodToClassRewriter.cs (1)
268
Debug.Assert(node.
InterpolatedStringHandlerData
is null);
Operations\CSharpOperationFactory.cs (4)
1448
if (boundBinaryOperatorBase is BoundBinaryOperator {
InterpolatedStringHandlerData
: not null } binary)
1462
} while (currentBinary is not null and not BoundBinaryOperator {
InterpolatedStringHandlerData
: not null });
1538
Debug.Assert(boundBinaryOperator.
InterpolatedStringHandlerData
is not null);
1545
return boundBinaryOperator.RewriteInterpolatedStringAddition((this, boundBinaryOperator.
InterpolatedStringHandlerData
.GetValueOrDefault()), createInterpolatedString, createBinaryOperator);