2 instantiations of BoundLabel
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
2538return new BoundLabel(node, symbol, null);
Generated\BoundNodes.xml.Generated.cs (1)
4839var result = new BoundLabel(this.Syntax, label, type, this.HasErrors);
39 references to BoundLabel
Microsoft.CodeAnalysis.CSharp (39)
Binder\Binder_Statements.cs (4)
516var boundLabel = expression as BoundLabel; 2974BoundLabel? label = name == null ? null : BindLabel(name, target != null ? diagnostics : BindingDiagnosticBag.Discarded) as BoundLabel;
CodeGen\EmitStatement.cs (1)
1993BoundLabel labelExpressionOpt = node.LabelExpressionOpt;
CodeGen\Optimizer.cs (1)
1398public override BoundNode VisitLabel(BoundLabel node)
FlowAnalysis\AlwaysAssignedWalker.cs (1)
93public override BoundNode VisitLabel(BoundLabel node)
FlowAnalysis\NullableWalker.cs (1)
13414public override BoundNode? VisitLabel(BoundLabel node)
Generated\BoundNodes.xml.Generated.cs (25)
3752public BoundBreakStatement(SyntaxNode syntax, LabelSymbol label, BoundLabel? labelExpressionOpt, bool hasErrors = false) 3763public BoundLabel? LabelExpressionOpt { get; } 3768public BoundBreakStatement Update(LabelSymbol label, BoundLabel? labelExpressionOpt) 3782public BoundContinueStatement(SyntaxNode syntax, LabelSymbol label, BoundLabel? labelExpressionOpt, bool hasErrors = false) 3793public BoundLabel? LabelExpressionOpt { get; } 3798public BoundContinueStatement Update(LabelSymbol label, BoundLabel? labelExpressionOpt) 4749public BoundGotoStatement(SyntaxNode syntax, LabelSymbol label, BoundExpression? caseExpressionOpt, BoundLabel? labelExpressionOpt, bool hasErrors = false) 4762public BoundLabel? LabelExpressionOpt { get; } 4767public BoundGotoStatement Update(LabelSymbol label, BoundExpression? caseExpressionOpt, BoundLabel? labelExpressionOpt) 4835public BoundLabel Update(LabelSymbol label, TypeSymbol? type) 4839var result = new BoundLabel(this.Syntax, label, type, this.HasErrors); 9328return VisitLabel((BoundLabel)node, arg); 9684public virtual R VisitLabel(BoundLabel node, A arg) => this.DefaultVisit(node, arg); 9925public virtual BoundNode? VisitLabel(BoundLabel node) => this.DefaultVisit(node); 10532public override BoundNode? VisitLabel(BoundLabel node) => null; 11707BoundLabel? labelExpressionOpt = (BoundLabel?)this.Visit(node.LabelExpressionOpt); 11713BoundLabel? labelExpressionOpt = (BoundLabel?)this.Visit(node.LabelExpressionOpt); 11894BoundLabel? labelExpressionOpt = (BoundLabel?)this.Visit(node.LabelExpressionOpt); 11903public override BoundNode? VisitLabel(BoundLabel node) 14108public override BoundNode? VisitLabel(BoundLabel node) 14115BoundLabel updatedNode = node.Update(node.Label, infoAndType.Type); 16571public override TreeDumperNode VisitLabel(BoundLabel node, object? arg) => new TreeDumperNode("label", null, new TreeDumperNode[]
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
401BoundLabel labelExpressionOpt = (BoundLabel)this.Visit(node.LabelExpressionOpt);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
359BoundLabel labelExpressionOpt = (BoundLabel)this.Visit(node.LabelExpressionOpt);
Lowering\LocalRewriter\LocalRewriter_GotoStatement.cs (2)
23BoundLabel? labelExpressionOpt = null; 33public override BoundNode? VisitLabel(BoundLabel node)