5 instantiations of BoundInterpolatedString
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_InterpolatedString.cs (4)
267
=> new
BoundInterpolatedString
(
362
return new
BoundInterpolatedString
(
531
return new
BoundInterpolatedString
(
592
return new
BoundInterpolatedString
(
Generated\BoundNodes.xml.Generated.cs (1)
7836
var result = new
BoundInterpolatedString
(this.Syntax, interpolationData, parts, constantValueOpt, type, this.HasErrors);
48 references to BoundInterpolatedString
Microsoft.CodeAnalysis.CSharp (48)
Binder\Binder.ValueChecks.cs (3)
5652
case
BoundInterpolatedString
interpolatedString:
5661
void getParts(
BoundInterpolatedString
interpolatedString)
5665
if (part is not BoundCall { Method.Name:
BoundInterpolatedString
.AppendFormattedMethod } call)
Binder\Binder_InterpolatedString.cs (9)
217
private
BoundInterpolatedString
BindUnconvertedInterpolatedStringToString(BoundUnconvertedInterpolatedString unconvertedInterpolatedString, BindingDiagnosticBag diagnostics)
250
tryBindAsHandlerType(out
var
result))
266
BoundInterpolatedString
constructWithoutData(ImmutableArray<BoundExpression> parts)
275
bool tryBindAsHandlerType([NotNullWhen(true)] out
BoundInterpolatedString
? result)
331
private
BoundInterpolatedString
BindUnconvertedInterpolatedExpressionToFactory(
528
static
BoundInterpolatedString
createInterpolation(BoundUnconvertedInterpolatedString expression, int i, (ImmutableArray<ImmutableArray<BoundExpression>> AppendCalls, TypeSymbol _) arg)
574
private
BoundInterpolatedString
BindUnconvertedInterpolatedStringToHandlerType(
928
methodName =
BoundInterpolatedString
.AppendFormattedMethod;
954
methodName =
BoundInterpolatedString
.AppendLiteralMethod;
Binder\RefSafetyAnalysis.cs (1)
640
if (arg is BoundConversion { ConversionKind: ConversionKind.InterpolatedStringHandler, Operand:
BoundInterpolatedString
or BoundBinaryOperator } conversion)
BoundTree\BoundNodeExtensions.cs (5)
156
Debug.Assert(typeof(TInterpolatedStringType) == typeof(
BoundInterpolatedString
) || binary.IsUnconvertedInterpolatedStringAddition);
242
Debug.Assert(typeof(TInterpolatedStringType) == typeof(
BoundInterpolatedString
) || binary.IsUnconvertedInterpolatedStringAddition);
253
BoundInterpolatedString
{ InterpolationData: { BuilderType: not null } d } => d,
254
BoundBinaryOperator or
BoundInterpolatedString
when !throwOnMissing => default,
255
BoundBinaryOperator or
BoundInterpolatedString
=> throw ExceptionUtilities.Unreachable(),
FlowAnalysis\AbstractFlowPass.cs (4)
1202
public override BoundNode VisitInterpolatedString(
BoundInterpolatedString
node)
2683
var parts = ArrayBuilder<
BoundInterpolatedString
>.GetInstance();
2688
stringCallback: static (
BoundInterpolatedString
interpolatedString, (ArrayBuilder<
BoundInterpolatedString
> parts, AbstractFlowPass<TLocalState, TLocalFunctionState> @this) arg) =>
Generated\BoundNodes.xml.Generated.cs (10)
7832
public
BoundInterpolatedString
Update(InterpolatedStringHandlerData? interpolationData, ImmutableArray<BoundExpression> parts, ConstantValue? constantValueOpt, TypeSymbol? type)
7836
var
result = new BoundInterpolatedString(this.Syntax, interpolationData, parts, constantValueOpt, type, this.HasErrors);
9241
return VisitInterpolatedString((
BoundInterpolatedString
)node, arg);
9508
public virtual R VisitInterpolatedString(
BoundInterpolatedString
node, A arg) => this.DefaultVisit(node, arg);
9744
public virtual BoundNode? VisitInterpolatedString(
BoundInterpolatedString
node) => this.DefaultVisit(node);
10661
public override BoundNode? VisitInterpolatedString(
BoundInterpolatedString
node)
12021
public override BoundNode? VisitInterpolatedString(
BoundInterpolatedString
node)
14631
public override BoundNode? VisitInterpolatedString(
BoundInterpolatedString
node)
14634
BoundInterpolatedString
updatedNode;
16858
public override TreeDumperNode VisitInterpolatedString(
BoundInterpolatedString
node, object? arg) => new TreeDumperNode("interpolatedString", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
1098
public override BoundNode VisitInterpolatedString(
BoundInterpolatedString
node)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
166
static (
BoundInterpolatedString
interpolatedString, ArrayBuilder<BoundExpression> partsBuilder) =>
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
836
if (argument is BoundConversion { ConversionKind: ConversionKind.InterpolatedStringHandler, Operand:
BoundInterpolatedString
or BoundBinaryOperator } conversion)
909
if (argument is BoundConversion { ConversionKind: ConversionKind.InterpolatedStringHandler, Operand:
BoundInterpolatedString
or BoundBinaryOperator } conversion)
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
29
BoundInterpolatedString
{ InterpolationData: { BuilderType: not null } d, Parts: { } p } => (d, p),
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (3)
19
var
interpolatedString = (
BoundInterpolatedString
)conversion.Operand;
143
public override BoundNode VisitInterpolatedString(
BoundInterpolatedString
node)
Operations\CSharpOperationFactory.cs (7)
217
return CreateBoundInterpolatedStringExpressionOperation((
BoundInterpolatedString
)boundNode);
1539
Func<
BoundInterpolatedString
, int, (CSharpOperationFactory, InterpolatedStringHandlerData), IOperation> createInterpolatedString
1548
BoundInterpolatedString
boundInterpolatedString,
2254
private IInterpolatedStringOperation CreateBoundInterpolatedStringExpressionOperation(
BoundInterpolatedString
boundInterpolatedString, ImmutableArray<(bool IsLiteral, bool HasAlignment, bool HasFormat)>? positionInfo = null)
2444
case
BoundInterpolatedString
interpolatedString:
2459
BoundInterpolatedString
.AppendLiteralMethod => OperationKind.InterpolatedStringAppendLiteral,
2460
BoundInterpolatedString
.AppendFormattedMethod => OperationKind.InterpolatedStringAppendFormatted,
Symbols\ConstantValueUtils.cs (1)
156
public override BoundNode VisitInterpolatedString(
BoundInterpolatedString
node)