1 write to Label
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4715
this.
Label
= label;
20 references to Label
Microsoft.CodeAnalysis.CSharp (20)
BoundTree\BoundNode_Source.cs (1)
163
append(gotoStatement.
Label
.ToString());
CodeGen\EmitStatement.cs (2)
640
_builder.EmitBranch(ILOpCode.Br, boundGotoStatement.
Label
);
1954
var labelClone = GetLabelClone(node.
Label
);
CodeGen\Optimizer.cs (1)
1404
RecordBranch(node.
Label
);
FlowAnalysis\AbstractFlowPass.cs (1)
3332
PendingBranches.Add(new PendingBranch(node, this.State, node.
Label
));
FlowAnalysis\ControlFlowPass.cs (4)
220
Diagnostics.Add(ErrorCode.ERR_LabelNotFound, loc, ((BoundGotoStatement)pending.Branch).
Label
.Name);
338
_labelsUsed.Add(node.
Label
);
343
var targetStart = node.
Label
.GetFirstLocation().SourceSpan.Start;
361
if (_labelsDefined.TryGetValue(node.
Label
, out BoundNode target) && target == usingDecl.block)
FlowAnalysis\ExitPointsWalker.cs (1)
128
if (_labelsInside.Contains(((BoundGotoStatement)pending.Branch).
Label
)) continue;
Generated\BoundNodes.xml.Generated.cs (3)
4729
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(label, this.
Label
) || caseExpressionOpt != this.CaseExpressionOpt || labelExpressionOpt != this.LabelExpressionOpt)
11497
return node.Update(node.
Label
, caseExpressionOpt, labelExpressionOpt);
16031
new TreeDumperNode("label", node.
Label
, null),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
364
var proxyLabel = _currentAwaitFinallyFrame.ProxyLabelIfNeeded(node.
Label
);
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
531
CheckCanMergeWithParent(node.
Label
);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
347
var proxyLabel = _currentFinallyFrame.ProxyLabelIfNeeded(node.
Label
);
348
Debug.Assert(node.
Label
== proxyLabel || !(F.CurrentFunction is IteratorFinallyMethodSymbol), "should not be proxying branches in finally");
Lowering\LocalRewriter\LocalRewriter_GotoStatement.cs (1)
24
BoundStatement result = node.Update(node.
Label
, caseExpressionOpt, labelExpressionOpt);
Lowering\UnmatchedGotoFinder.cs (1)
68
AddGoto(node.
Label
);
Operations\CSharpOperationFactory.cs (1)
1788
ILabelSymbol target = boundGotoStatement.
Label
.GetPublicSymbol();