2 instantiations of BoundLabel
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
2484
return new
BoundLabel
(node, symbol, null);
Generated\BoundNodes.xml.Generated.cs (1)
4797
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)
1993
BoundLabel
labelExpressionOpt = node.LabelExpressionOpt;
CodeGen\Optimizer.cs (1)
1396
public override BoundNode VisitLabel(
BoundLabel
node)
FlowAnalysis\AlwaysAssignedWalker.cs (1)
93
public override BoundNode VisitLabel(
BoundLabel
node)
FlowAnalysis\NullableWalker.cs (1)
12599
public override BoundNode? VisitLabel(
BoundLabel
node)
Generated\BoundNodes.xml.Generated.cs (15)
4707
public BoundGotoStatement(SyntaxNode syntax, LabelSymbol label, BoundExpression? caseExpressionOpt,
BoundLabel
? labelExpressionOpt, bool hasErrors = false)
4720
public
BoundLabel
? LabelExpressionOpt { get; }
4725
public BoundGotoStatement Update(LabelSymbol label, BoundExpression? caseExpressionOpt,
BoundLabel
? labelExpressionOpt)
4793
public
BoundLabel
Update(LabelSymbol label, TypeSymbol? type)
4797
var
result = new BoundLabel(this.Syntax, label, type, this.HasErrors);
9119
return VisitLabel((
BoundLabel
)node, arg);
9466
public virtual R VisitLabel(
BoundLabel
node, A arg) => this.DefaultVisit(node, arg);
9702
public virtual BoundNode? VisitLabel(
BoundLabel
node) => this.DefaultVisit(node);
10292
public override BoundNode? VisitLabel(
BoundLabel
node) => null;
11621
BoundLabel
? labelExpressionOpt = (
BoundLabel
?)this.Visit(node.LabelExpressionOpt);
11630
public override BoundNode? VisitLabel(
BoundLabel
node)
13787
public override BoundNode? VisitLabel(
BoundLabel
node)
13794
BoundLabel
updatedNode = node.Update(node.Label, infoAndType.Type);
16220
public override TreeDumperNode VisitLabel(
BoundLabel
node, object? arg) => new TreeDumperNode("label", null, new TreeDumperNode[]
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
401
BoundLabel
labelExpressionOpt = (
BoundLabel
)this.Visit(node.LabelExpressionOpt);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
359
BoundLabel
labelExpressionOpt = (
BoundLabel
)this.Visit(node.LabelExpressionOpt);
Lowering\LocalRewriter\LocalRewriter_GotoStatement.cs (2)
23
BoundLabel
? labelExpressionOpt = null;
33
public override BoundNode? VisitLabel(
BoundLabel
node)