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)
7941
var result = new
BoundStringInsert
(this.Syntax, value, alignment, format, isInterpolatedStringHandlerAppendCall, this.HasErrors);
25 references to BoundStringInsert
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_InterpolatedString.cs (10)
299
if (part is
BoundStringInsert
fillin)
324
p is
BoundStringInsert
{ Alignment.ConstantValueOpt: null or { IsBad: true } } or
325
BoundStringInsert
{ Format.ConstantValueOpt: null or { IsBad: true } });
381
if (part is
BoundStringInsert
fillin)
433
&& unconvertedInterpolatedString.Parts.All(p => p is not
BoundStringInsert
{ Value.Type.TypeKind: TypeKind.Dynamic });
436
=> parts.All(p => p is BoundLiteral or
BoundStringInsert
{ Value.Type.SpecialType: SpecialType.System_String, Alignment: null, Format: null });
680
if (currentPart is
BoundStringInsert
insert)
857
if (part is
BoundStringInsert
insert)
920
Debug.Assert(part is BoundLiteral or
BoundStringInsert
);
926
if (part is
BoundStringInsert
insert)
FlowAnalysis\AbstractFlowPass.cs (1)
1212
public override BoundNode VisitStringInsert(
BoundStringInsert
node)
FlowAnalysis\NullableWalker.cs (1)
12858
public override BoundNode? VisitStringInsert(
BoundStringInsert
node)
Generated\BoundNodes.xml.Generated.cs (10)
7937
public
BoundStringInsert
Update(BoundExpression value, BoundExpression? alignment, BoundLiteral? format, bool isInterpolatedStringHandlerAppendCall)
7941
var
result = new BoundStringInsert(this.Syntax, value, alignment, format, isInterpolatedStringHandlerAppendCall, this.HasErrors);
9287
return VisitStringInsert((
BoundStringInsert
)node, arg);
9551
public virtual R VisitStringInsert(
BoundStringInsert
node, A arg) => this.DefaultVisit(node, arg);
9787
public virtual BoundNode? VisitStringInsert(
BoundStringInsert
node) => this.DefaultVisit(node);
10710
public override BoundNode? VisitStringInsert(
BoundStringInsert
node)
12215
public override BoundNode? VisitStringInsert(
BoundStringInsert
node)
14851
public override BoundNode? VisitStringInsert(
BoundStringInsert
node)
14856
BoundStringInsert
updatedNode;
17065
public override TreeDumperNode VisitStringInsert(
BoundStringInsert
node, object? arg) => new TreeDumperNode("stringInsert", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
169
if (part is
BoundStringInsert
fillin)
Operations\CSharpOperationFactory.cs (2)
219
return CreateBoundInterpolationOperation((
BoundStringInsert
)boundNode);
2399
private IInterpolationOperation CreateBoundInterpolationOperation(
BoundStringInsert
boundStringInsert)