1 instantiation of BoundLabel
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4800
var result = new
BoundLabel
(this.Syntax, label, type, this.HasErrors);
27 references to BoundLabel
Microsoft.CodeAnalysis.CSharp (27)
Binder\Binder_Statements.cs (2)
516
var
boundLabel = expression as
BoundLabel
;
CodeGen\EmitStatement.cs (1)
1959
BoundLabel
labelExpressionOpt = node.LabelExpressionOpt;
CodeGen\Optimizer.cs (1)
1387
public override BoundNode VisitLabel(
BoundLabel
node)
FlowAnalysis\AlwaysAssignedWalker.cs (1)
92
public override BoundNode VisitLabel(
BoundLabel
node)
FlowAnalysis\NullableWalker.cs (1)
11640
public override BoundNode? VisitLabel(
BoundLabel
node)
Generated\BoundNodes.xml.Generated.cs (15)
4710
public BoundGotoStatement(SyntaxNode syntax, LabelSymbol label, BoundExpression? caseExpressionOpt,
BoundLabel
? labelExpressionOpt, bool hasErrors = false)
4723
public
BoundLabel
? LabelExpressionOpt { get; }
4728
public BoundGotoStatement Update(LabelSymbol label, BoundExpression? caseExpressionOpt,
BoundLabel
? labelExpressionOpt)
4796
public
BoundLabel
Update(LabelSymbol label, TypeSymbol? type)
4800
var
result = new BoundLabel(this.Syntax, label, type, this.HasErrors);
9082
return VisitLabel((
BoundLabel
)node, arg);
9429
public virtual R VisitLabel(
BoundLabel
node, A arg) => this.DefaultVisit(node, arg);
9665
public virtual BoundNode? VisitLabel(
BoundLabel
node) => this.DefaultVisit(node);
10254
public override BoundNode? VisitLabel(
BoundLabel
node) => null;
11497
BoundLabel
? labelExpressionOpt = (
BoundLabel
?)this.Visit(node.LabelExpressionOpt);
11505
public override BoundNode? VisitLabel(
BoundLabel
node)
13614
public override BoundNode? VisitLabel(
BoundLabel
node)
13621
BoundLabel
updatedNode = node.Update(node.Label, infoAndType.Type);
16045
public override TreeDumperNode VisitLabel(
BoundLabel
node, object? arg) => new TreeDumperNode("label", null, new TreeDumperNode[]
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
363
BoundLabel
labelExpressionOpt = (
BoundLabel
)this.Visit(node.LabelExpressionOpt);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
352
BoundLabel
labelExpressionOpt = (
BoundLabel
)this.Visit(node.LabelExpressionOpt);
Lowering\LocalRewriter\LocalRewriter_GotoStatement.cs (2)
23
BoundLabel
? labelExpressionOpt = null;
33
public override BoundNode? VisitLabel(
BoundLabel
node)