2 instantiations of BoundLabel
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
2538
return new
BoundLabel
(node, symbol, null);
Generated\BoundNodes.xml.Generated.cs (1)
4837
var result = new
BoundLabel
(this.Syntax, label, type, this.HasErrors);
39 references to BoundLabel
Microsoft.CodeAnalysis.CSharp (39)
Binder\Binder_Statements.cs (4)
516
var
boundLabel = expression as
BoundLabel
;
2974
BoundLabel
? label = name == null ? null : BindLabel(name, target != null ? diagnostics : BindingDiagnosticBag.Discarded) as
BoundLabel
;
CodeGen\EmitStatement.cs (1)
1993
BoundLabel
labelExpressionOpt = node.LabelExpressionOpt;
CodeGen\Optimizer.cs (1)
1398
public override BoundNode VisitLabel(
BoundLabel
node)
FlowAnalysis\AlwaysAssignedWalker.cs (1)
93
public override BoundNode VisitLabel(
BoundLabel
node)
FlowAnalysis\NullableWalker.cs (1)
13319
public override BoundNode? VisitLabel(
BoundLabel
node)
Generated\BoundNodes.xml.Generated.cs (25)
3750
public BoundBreakStatement(SyntaxNode syntax, LabelSymbol label,
BoundLabel
? labelExpressionOpt, bool hasErrors = false)
3761
public
BoundLabel
? LabelExpressionOpt { get; }
3766
public BoundBreakStatement Update(LabelSymbol label,
BoundLabel
? labelExpressionOpt)
3780
public BoundContinueStatement(SyntaxNode syntax, LabelSymbol label,
BoundLabel
? labelExpressionOpt, bool hasErrors = false)
3791
public
BoundLabel
? LabelExpressionOpt { get; }
3796
public BoundContinueStatement Update(LabelSymbol label,
BoundLabel
? labelExpressionOpt)
4747
public BoundGotoStatement(SyntaxNode syntax, LabelSymbol label, BoundExpression? caseExpressionOpt,
BoundLabel
? labelExpressionOpt, bool hasErrors = false)
4760
public
BoundLabel
? LabelExpressionOpt { get; }
4765
public BoundGotoStatement Update(LabelSymbol label, BoundExpression? caseExpressionOpt,
BoundLabel
? labelExpressionOpt)
4833
public
BoundLabel
Update(LabelSymbol label, TypeSymbol? type)
4837
var
result = new BoundLabel(this.Syntax, label, type, this.HasErrors);
9326
return VisitLabel((
BoundLabel
)node, arg);
9682
public virtual R VisitLabel(
BoundLabel
node, A arg) => this.DefaultVisit(node, arg);
9923
public virtual BoundNode? VisitLabel(
BoundLabel
node) => this.DefaultVisit(node);
10530
public override BoundNode? VisitLabel(
BoundLabel
node) => null;
11705
BoundLabel
? labelExpressionOpt = (
BoundLabel
?)this.Visit(node.LabelExpressionOpt);
11711
BoundLabel
? labelExpressionOpt = (
BoundLabel
?)this.Visit(node.LabelExpressionOpt);
11892
BoundLabel
? labelExpressionOpt = (
BoundLabel
?)this.Visit(node.LabelExpressionOpt);
11901
public override BoundNode? VisitLabel(
BoundLabel
node)
14106
public override BoundNode? VisitLabel(
BoundLabel
node)
14113
BoundLabel
updatedNode = node.Update(node.Label, infoAndType.Type);
16569
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)