1 write to Label
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4916this.Label = label;
9 references to Label
Microsoft.CodeAnalysis.CSharp (9)
Binder\DecisionDagBuilder.cs (1)
175builder.Add(MakeTestsForPattern(++i, arm.Syntax, rootIdentifier, arm.Pattern, arm.WhenClause, arm.Label));
Binder\SwitchExpressionBinder.cs (1)
69if (!hasErrors && !reachableLabels.Contains(arm.Label))
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
166if (!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)
4930if (locals != this.Locals || pattern != this.Pattern || whenClause != this.WhenClause || value != this.Value || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(label, this.Label)) 11524return node.Update(node.Locals, pattern, whenClause, value, node.Label); 13631return node.Update(locals, pattern, whenClause, value, node.Label); 16072new TreeDumperNode("label", node.Label, null),
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (1)
96sectionBuilder.Add(_factory.Label(arm.Label));