1 write to Label
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5697
this.
Label
= label;
20 references to Label
Microsoft.CodeAnalysis.CSharp (20)
Binder\DecisionDagBuilder.cs (1)
155
builder.Add(MakeTestsForPattern(++i, label.Syntax, rootIdentifier, label.Pattern, label.WhenClause, label.
Label
));
Binder\SwitchBinder_Patterns.cs (4)
51
defaultLabel: defaultLabel?.
Label
?? BreakLabel,
80
return !reachableLabels.Contains(switchLabel.
Label
);
109
if (label.Pattern is BoundConstantPattern cp && !cp.ConstantValue.IsBad && FindMatchingSwitchCaseLabel(cp.ConstantValue, p) != label.
Label
)
124
newLabel = new BoundSwitchLabel(label.Syntax, label.
Label
, label.Pattern, label.WhenClause, hasErrors: true);
BoundTree\BoundStatementExtensions.cs (1)
45
if (boundSwitchLabel.
Label
== label)
BoundTree\BoundSwitchStatement.cs (1)
22
this.DefaultLabel?.
Label
?? this.BreakLabel,
FlowAnalysis\AbstractFlowPass.cs (1)
866
stateChangedAfterUse |= ResolveBranches(label.
Label
, sec);
FlowAnalysis\AbstractFlowPass_Switch.cs (3)
51
if (reachableLabels.Contains(label.
Label
) || label.HasErrors ||
69
PendingBranches.Add(new PendingBranch(label, this.State, label.
Label
));
125
VisitLabel(label.
Label
, node);
FlowAnalysis\ControlFlowPass.cs (1)
391
_labelsDefined[label.
Label
] = node;
FlowAnalysis\NullableWalker_Patterns.cs (3)
305
var labelResult = labelStateMap.TryGetValue(label.
Label
, out var s1) ? s1 : (state: UnreachableState(), believedReachable: false);
307
PendingBranches.Add(new PendingBranch(label, this.State, label.
Label
));
331
VisitLabel(label.
Label
, node);
Generated\BoundNodes.xml.Generated.cs (3)
5711
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(label, this.
Label
) || pattern != this.Pattern || whenClause != this.WhenClause)
11663
return node.Update(node.
Label
, pattern, whenClause);
16260
new TreeDumperNode("label", node.
Label
, null),
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (1)
137
sectionBuilder.Add(_factory.Label(switchLabel.
Label
));
Operations\CSharpOperationFactory.cs (1)
2749
LabelSymbol label = boundSwitchLabel.
Label
;