1 write to SwitchLabels
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5556
this.
SwitchLabels
= switchLabels;
22 references to SwitchLabels
Microsoft.CodeAnalysis.CSharp (22)
Binder\DecisionDagBuilder.cs (1)
148
foreach (BoundSwitchLabel label in section.
SwitchLabels
)
Binder\SwitchBinder_Patterns.cs (3)
84
if (!switchSections.Any(static (s, reachableLabels) => s.
SwitchLabels
.Any(isSubsumed, reachableLabels), reachableLabels))
93
var labelBuilder = ArrayBuilder<BoundSwitchLabel>.GetInstance(oldSection.
SwitchLabels
.Length);
94
foreach (var label in oldSection.
SwitchLabels
)
BoundTree\BoundNode_Source.cs (1)
273
foreach (var label in section.
SwitchLabels
)
BoundTree\BoundStatementExtensions.cs (1)
43
foreach (var boundSwitchLabel in ((BoundSwitchSection)node).
SwitchLabels
)
FlowAnalysis\AbstractFlowPass.cs (1)
857
foreach (var label in sec.
SwitchLabels
)
FlowAnalysis\AbstractFlowPass_Switch.cs (2)
49
foreach (var label in section.
SwitchLabels
)
123
foreach (var label in node.
SwitchLabels
)
FlowAnalysis\ControlFlowPass.cs (2)
380
var syntax = node.
SwitchLabels
.Last().Syntax;
390
foreach (var label in section.
SwitchLabels
)
FlowAnalysis\NullableWalker_Patterns.cs (3)
244
foreach (var label in section.
SwitchLabels
)
265
foreach (var label in section.
SwitchLabels
)
282
foreach (var label in node.
SwitchLabels
)
FlowAnalysis\VariablesDeclaredWalker.cs (1)
58
foreach (var label in node.
SwitchLabels
)
Generated\BoundNodes.xml.Generated.cs (5)
5567
if (locals != this.Locals || switchLabels != this.
SwitchLabels
|| statements != this.Statements)
10033
this.VisitList(node.
SwitchLabels
);
11260
ImmutableArray<BoundSwitchLabel> switchLabels = this.VisitList(node.
SwitchLabels
);
13259
ImmutableArray<BoundSwitchLabel> switchLabels = this.VisitList(node.
SwitchLabels
);
15693
new TreeDumperNode("switchLabels", null, from x in node.
SwitchLabels
select Visit(x, null)),
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (1)
135
foreach (BoundSwitchLabel switchLabel in section.
SwitchLabels
)
Operations\CSharpOperationFactory.cs (1)
2552
ImmutableArray<ICaseClauseOperation> clauses = CreateFromArray<BoundSwitchLabel, ICaseClauseOperation>(boundSwitchSection.
SwitchLabels
);