1 instantiation of InterpolatedStringHandlerData
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder_InterpolatedString.cs (1)
364
interpolationData: new
InterpolatedStringHandlerData
(construction),
31 references to InterpolatedStringHandlerData
Microsoft.CodeAnalysis.CSharp (31)
Binder\Binder.ValueChecks.cs (2)
1944
var
data = expression.GetInterpolatedStringHandlerData();
5605
var
data = expression.GetInterpolatedStringHandlerData();
Binder\Binder_InterpolatedString.cs (3)
515
private BoundBinaryOperator UpdateBinaryOperatorWithInterpolatedContents(BoundBinaryOperator originalOperator, ImmutableArray<ImmutableArray<BoundExpression>> appendCalls,
InterpolatedStringHandlerData
data, SyntaxNode rootSyntax, BindingDiagnosticBag diagnostics)
632
private (ImmutableArray<ImmutableArray<BoundExpression>> AppendCalls,
InterpolatedStringHandlerData
Data) BindUnconvertedInterpolatedPartsToHandlerType(
807
var
interpolationData = new InterpolatedStringHandlerData(
Binder\RefSafetyAnalysis.cs (2)
642
var
interpolationData = conversion.Operand.GetInterpolatedStringHandlerData();
675
in
InterpolatedStringHandlerData
interpolationData,
BoundTree\BoundBinaryOperator.UncommonData.cs (3)
24
public static UncommonData InterpolatedStringHandlerAddition(
InterpolatedStringHandlerData
data)
47
public readonly
InterpolatedStringHandlerData
? InterpolatedStringHandlerData;
54
private UncommonData(ConstantValue? constantValue, MethodSymbol? method, TypeSymbol? constrainedToType, ImmutableArray<MethodSymbol> originalUserDefinedOperatorsOpt, bool isUnconvertedInterpolatedStringAddition,
InterpolatedStringHandlerData
? interpolatedStringHandlerData)
BoundTree\BoundExpression.cs (1)
414
internal
InterpolatedStringHandlerData
? InterpolatedStringHandlerData => Data?.InterpolatedStringHandlerData;
BoundTree\BoundNodeExtensions.cs (1)
249
public static
InterpolatedStringHandlerData
GetInterpolatedStringHandlerData(this BoundExpression e, bool throwOnMissing = true)
FlowAnalysis\AbstractFlowPass.cs (2)
1171
protected BoundNode? VisitInterpolatedStringBase(BoundInterpolatedStringBase node,
InterpolatedStringHandlerData
? data)
2684
var
data = node.InterpolatedStringHandlerData.GetValueOrDefault();
FlowAnalysis\NullableWalker.cs (2)
9263
var
handlerData = conversionOperand.GetInterpolatedStringHandlerData(throwOnMissing: false);
9316
void visitHandlerConstruction(
InterpolatedStringHandlerData
handlerData)
Generated\BoundNodes.xml.Generated.cs (3)
7818
public BoundInterpolatedString(SyntaxNode syntax,
InterpolatedStringHandlerData
? interpolationData, ImmutableArray<BoundExpression> parts, ConstantValue? constantValueOpt, TypeSymbol? type, bool hasErrors = false)
7827
public
InterpolatedStringHandlerData
? InterpolationData { get; }
7832
public BoundInterpolatedString Update(
InterpolatedStringHandlerData
? interpolationData, ImmutableArray<BoundExpression> parts, ConstantValue? constantValueOpt, TypeSymbol? type)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
115
if (node.InterpolatedStringHandlerData is
InterpolatedStringHandlerData
data)
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
840
var
interpolationData = conversion.Operand.GetInterpolatedStringHandlerData();
911
var
interpolationData = conversion.Operand.GetInterpolatedStringHandlerData();
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (4)
29
private InterpolationHandlerResult RewriteToInterpolatedStringHandlerPattern(
InterpolatedStringHandlerData
data, ImmutableArray<BoundExpression> parts, SyntaxNode syntax)
147
if (node.InterpolationData is
InterpolatedStringHandlerData
{ BuilderType: not null } data)
219
private BoundExpression LowerPartsToString(
InterpolatedStringHandlerData
data, ImmutableArray<BoundExpression> parts, SyntaxNode syntax, TypeSymbol type)
242
var
data = operand.GetInterpolatedStringHandlerData();
Operations\CSharpOperationFactory.cs (5)
1539
Func<BoundInterpolatedString, int, (CSharpOperationFactory,
InterpolatedStringHandlerData
), IOperation> createInterpolatedString
1542
Func<BoundBinaryOperator, IOperation, IOperation, (CSharpOperationFactory,
InterpolatedStringHandlerData
), IOperation> createBinaryOperator
1550
(CSharpOperationFactory @this,
InterpolatedStringHandlerData
Data) arg)
1557
(CSharpOperationFactory @this,
InterpolatedStringHandlerData
_) arg)
2421
InterpolatedStringHandlerData
interpolationData = conversion.Operand.GetInterpolatedStringHandlerData();