2 instantiations of BoundStringInsert
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_InterpolatedString.cs (1)
140
builder.Add(new
BoundStringInsert
(interpolation, value, alignment, format, isInterpolatedStringHandlerAppendCall: false));
Generated\BoundNodes.xml.Generated.cs (1)
7619
var result = new
BoundStringInsert
(this.Syntax, value, alignment, format, isInterpolatedStringHandlerAppendCall, this.HasErrors);
23 references to BoundStringInsert
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_InterpolatedString.cs (6)
295
&& unconvertedInterpolatedString.Parts.All(p => p is not
BoundStringInsert
{ Value.Type.TypeKind: TypeKind.Dynamic });
298
=> parts.All(p => p is BoundLiteral or
BoundStringInsert
{ Value.Type.SpecialType: SpecialType.System_String, Alignment: null, Format: null });
534
if (currentPart is
BoundStringInsert
insert)
689
if (part is
BoundStringInsert
insert)
752
Debug.Assert(part is BoundLiteral or
BoundStringInsert
);
758
if (part is
BoundStringInsert
insert)
FlowAnalysis\AbstractFlowPass.cs (1)
1157
public override BoundNode VisitStringInsert(
BoundStringInsert
node)
FlowAnalysis\NullableWalker.cs (1)
10978
public override BoundNode? VisitStringInsert(
BoundStringInsert
node)
Generated\BoundNodes.xml.Generated.cs (10)
7615
public
BoundStringInsert
Update(BoundExpression value, BoundExpression? alignment, BoundLiteral? format, bool isInterpolatedStringHandlerAppendCall)
7619
var
result = new BoundStringInsert(this.Syntax, value, alignment, format, isInterpolatedStringHandlerAppendCall, this.HasErrors);
8913
return VisitStringInsert((
BoundStringInsert
)node, arg);
9169
public virtual R VisitStringInsert(
BoundStringInsert
node, A arg) => this.DefaultVisit(node, arg);
9397
public virtual BoundNode? VisitStringInsert(
BoundStringInsert
node) => this.DefaultVisit(node);
10289
public override BoundNode? VisitStringInsert(
BoundStringInsert
node)
11603
public override BoundNode? VisitStringInsert(
BoundStringInsert
node)
14135
public override BoundNode? VisitStringInsert(
BoundStringInsert
node)
14140
BoundStringInsert
updatedNode;
16263
public override TreeDumperNode VisitStringInsert(
BoundStringInsert
node, object? arg) => new TreeDumperNode("stringInsert", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (3)
191
if (part is
BoundStringInsert
fillin)
219
if (part is
BoundStringInsert
fillin)
305
if (part is
BoundStringInsert
fillin)
Operations\CSharpOperationFactory.cs (2)
215
return CreateBoundInterpolationOperation((
BoundStringInsert
)boundNode);
2282
private IInterpolationOperation CreateBoundInterpolationOperation(
BoundStringInsert
boundStringInsert)