2 instantiations of BoundStringInsert
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_InterpolatedString.cs (1)
140builder.Add(new BoundStringInsert(interpolation, value, alignment, format, isInterpolatedStringHandlerAppendCall: false));
Generated\BoundNodes.xml.Generated.cs (1)
8057var result = new BoundStringInsert(this.Syntax, value, alignment, format, isInterpolatedStringHandlerAppendCall, this.HasErrors);
25 references to BoundStringInsert
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_InterpolatedString.cs (10)
299if (part is BoundStringInsert fillin) 324p is BoundStringInsert { Alignment.ConstantValueOpt: null or { IsBad: true } } or 325BoundStringInsert { Format.ConstantValueOpt: null or { IsBad: true } }); 381if (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 }); 680if (currentPart is BoundStringInsert insert) 857if (part is BoundStringInsert insert) 920Debug.Assert(part is BoundLiteral or BoundStringInsert); 926if (part is BoundStringInsert insert)
FlowAnalysis\AbstractFlowPass.cs (1)
1213public override BoundNode VisitStringInsert(BoundStringInsert node)
FlowAnalysis\NullableWalker.cs (1)
13573public override BoundNode? VisitStringInsert(BoundStringInsert node)
Generated\BoundNodes.xml.Generated.cs (10)
8053public BoundStringInsert Update(BoundExpression value, BoundExpression? alignment, BoundLiteral? format, bool isInterpolatedStringHandlerAppendCall) 8057var result = new BoundStringInsert(this.Syntax, value, alignment, format, isInterpolatedStringHandlerAppendCall, this.HasErrors); 9496return VisitStringInsert((BoundStringInsert)node, arg); 9767public virtual R VisitStringInsert(BoundStringInsert node, A arg) => this.DefaultVisit(node, arg); 10008public virtual BoundNode? VisitStringInsert(BoundStringInsert node) => this.DefaultVisit(node); 10957public override BoundNode? VisitStringInsert(BoundStringInsert node) 12492public override BoundNode? VisitStringInsert(BoundStringInsert node) 15165public override BoundNode? VisitStringInsert(BoundStringInsert node) 15170BoundStringInsert updatedNode; 17426public override TreeDumperNode VisitStringInsert(BoundStringInsert node, object? arg) => new TreeDumperNode("stringInsert", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
169if (part is BoundStringInsert fillin)
Operations\CSharpOperationFactory.cs (2)
218return CreateBoundInterpolationOperation((BoundStringInsert)boundNode); 2465private IInterpolationOperation CreateBoundInterpolationOperation(BoundStringInsert boundStringInsert)