1 instantiation of BoundLabel
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4798var result = new BoundLabel(this.Syntax, label, type, this.HasErrors);
27 references to BoundLabel
Microsoft.CodeAnalysis.CSharp (27)
Binder\Binder_Statements.cs (2)
516var boundLabel = expression as BoundLabel;
CodeGen\EmitStatement.cs (1)
1959BoundLabel labelExpressionOpt = node.LabelExpressionOpt;
CodeGen\Optimizer.cs (1)
1387public override BoundNode VisitLabel(BoundLabel node)
FlowAnalysis\AlwaysAssignedWalker.cs (1)
92public override BoundNode VisitLabel(BoundLabel node)
FlowAnalysis\NullableWalker.cs (1)
11821public override BoundNode? VisitLabel(BoundLabel node)
Generated\BoundNodes.xml.Generated.cs (15)
4708public BoundGotoStatement(SyntaxNode syntax, LabelSymbol label, BoundExpression? caseExpressionOpt, BoundLabel? labelExpressionOpt, bool hasErrors = false) 4721public BoundLabel? LabelExpressionOpt { get; } 4726public BoundGotoStatement Update(LabelSymbol label, BoundExpression? caseExpressionOpt, BoundLabel? labelExpressionOpt) 4794public BoundLabel Update(LabelSymbol label, TypeSymbol? type) 4798var result = new BoundLabel(this.Syntax, label, type, this.HasErrors); 9116return VisitLabel((BoundLabel)node, arg); 9463public virtual R VisitLabel(BoundLabel node, A arg) => this.DefaultVisit(node, arg); 9699public virtual BoundNode? VisitLabel(BoundLabel node) => this.DefaultVisit(node); 10288public override BoundNode? VisitLabel(BoundLabel node) => null; 11613BoundLabel? labelExpressionOpt = (BoundLabel?)this.Visit(node.LabelExpressionOpt); 11622public override BoundNode? VisitLabel(BoundLabel node) 13793public override BoundNode? VisitLabel(BoundLabel node) 13800BoundLabel updatedNode = node.Update(node.Label, infoAndType.Type); 16223public override TreeDumperNode VisitLabel(BoundLabel node, object? arg) => new TreeDumperNode("label", null, new TreeDumperNode[]
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
363BoundLabel labelExpressionOpt = (BoundLabel)this.Visit(node.LabelExpressionOpt);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
354BoundLabel labelExpressionOpt = (BoundLabel)this.Visit(node.LabelExpressionOpt);
Lowering\LocalRewriter\LocalRewriter_GotoStatement.cs (2)
23BoundLabel? labelExpressionOpt = null; 33public override BoundNode? VisitLabel(BoundLabel node)