1 write to SwitchLabels
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5659
this.
SwitchLabels
= switchLabels;
22 references to SwitchLabels
Microsoft.CodeAnalysis.CSharp (22)
Binder\DecisionDagBuilder.cs (1)
151
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)
288
foreach (var label in section.
SwitchLabels
)
BoundTree\BoundStatementExtensions.cs (1)
43
foreach (var boundSwitchLabel in ((BoundSwitchSection)node).
SwitchLabels
)
FlowAnalysis\AbstractFlowPass.cs (1)
863
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)
378
var syntax = node.
SwitchLabels
.Last().Syntax;
388
foreach (var label in section.
SwitchLabels
)
FlowAnalysis\NullableWalker_Patterns.cs (3)
282
foreach (var label in section.
SwitchLabels
)
303
foreach (var label in section.
SwitchLabels
)
320
foreach (var label in node.
SwitchLabels
)
FlowAnalysis\VariablesDeclaredWalker.cs (1)
59
foreach (var label in node.
SwitchLabels
)
Generated\BoundNodes.xml.Generated.cs (5)
5670
if (locals != this.Locals || switchLabels != this.
SwitchLabels
|| statements != this.Statements)
10418
this.VisitList(node.
SwitchLabels
);
11783
ImmutableArray<BoundSwitchLabel> switchLabels = this.VisitList(node.
SwitchLabels
);
13878
ImmutableArray<BoundSwitchLabel> switchLabels = this.VisitList(node.
SwitchLabels
);
16406
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)
2697
ImmutableArray<ICaseClauseOperation> clauses = CreateFromArray<BoundSwitchLabel, ICaseClauseOperation>(boundSwitchSection.
SwitchLabels
);