2 instantiations of BoundLabel
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
2216return new BoundLabel(node, symbol, null);
Generated\BoundNodes.xml.Generated.cs (1)
4688var result = new BoundLabel(this.Syntax, label, type, this.HasErrors);
27 references to BoundLabel
Microsoft.CodeAnalysis.CSharp (27)
Binder\Binder_Statements.cs (2)
513var boundLabel = expression as BoundLabel;
CodeGen\EmitStatement.cs (1)
1936BoundLabel labelExpressionOpt = node.LabelExpressionOpt;
CodeGen\Optimizer.cs (1)
1320public override BoundNode VisitLabel(BoundLabel node)
FlowAnalysis\AlwaysAssignedWalker.cs (1)
92public override BoundNode VisitLabel(BoundLabel node)
FlowAnalysis\NullableWalker.cs (1)
10724public override BoundNode? VisitLabel(BoundLabel node)
Generated\BoundNodes.xml.Generated.cs (15)
4598public BoundGotoStatement(SyntaxNode syntax, LabelSymbol label, BoundExpression? caseExpressionOpt, BoundLabel? labelExpressionOpt, bool hasErrors = false) 4611public BoundLabel? LabelExpressionOpt { get; } 4616public BoundGotoStatement Update(LabelSymbol label, BoundExpression? caseExpressionOpt, BoundLabel? labelExpressionOpt) 4684public BoundLabel Update(LabelSymbol label, TypeSymbol? type) 4688var result = new BoundLabel(this.Syntax, label, type, this.HasErrors); 8757return VisitLabel((BoundLabel)node, arg); 9091public virtual R VisitLabel(BoundLabel node, A arg) => this.DefaultVisit(node, arg); 9319public virtual BoundNode? VisitLabel(BoundLabel node) => this.DefaultVisit(node); 9896public override BoundNode? VisitLabel(BoundLabel node) => null; 11101BoundLabel? labelExpressionOpt = (BoundLabel?)this.Visit(node.LabelExpressionOpt); 11109public override BoundNode? VisitLabel(BoundLabel node) 13146public override BoundNode? VisitLabel(BoundLabel node) 13153BoundLabel updatedNode = node.Update(node.Label, infoAndType.Type); 15484public override TreeDumperNode VisitLabel(BoundLabel node, object? arg) => new TreeDumperNode("label", null, new TreeDumperNode[]
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
350BoundLabel labelExpressionOpt = (BoundLabel)this.Visit(node.LabelExpressionOpt);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
353BoundLabel labelExpressionOpt = (BoundLabel)this.Visit(node.LabelExpressionOpt);
Lowering\LocalRewriter\LocalRewriter_GotoStatement.cs (2)
23BoundLabel? labelExpressionOpt = null; 33public override BoundNode? VisitLabel(BoundLabel node)