1 write to Label
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4917
this.
Label
= label;
9 references to Label
Microsoft.CodeAnalysis.CSharp (9)
Binder\DecisionDagBuilder.cs (1)
175
builder.Add(MakeTestsForPattern(++i, arm.Syntax, rootIdentifier, arm.Pattern, arm.WhenClause, arm.
Label
));
Binder\SwitchExpressionBinder.cs (1)
69
if (!hasErrors && !reachableLabels.Contains(arm.
Label
))
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
166
if (!reachableLabels.Contains(arm.
Label
) || arm.Pattern.HasErrors)
FlowAnalysis\NullableWalker_Patterns.cs (1)
1045
=> !arm.Pattern.HasErrors && labelStateMap.TryGetValue(arm.
Label
, out var labelState) ? labelState.state : UnreachableState();
Generated\BoundNodes.xml.Generated.cs (4)
4931
if (locals != this.Locals || pattern != this.Pattern || whenClause != this.WhenClause || value != this.Value || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(label, this.
Label
))
11525
return node.Update(node.Locals, pattern, whenClause, value, node.
Label
);
13632
return node.Update(locals, pattern, whenClause, value, node.
Label
);
16073
new TreeDumperNode("label", node.
Label
, null),
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (1)
96
sectionBuilder.Add(_factory.Label(arm.
Label
));