1 write to SwitchLabels
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5668this.SwitchLabels = switchLabels;
21 references to SwitchLabels
Microsoft.CodeAnalysis.CSharp (21)
Binder\DecisionDagBuilder.cs (1)
151foreach (BoundSwitchLabel label in section.SwitchLabels)
Binder\SwitchBinder_Patterns.cs (2)
93var labelBuilder = ArrayBuilder<BoundSwitchLabel>.GetInstance(oldSection.SwitchLabels.Length); 94foreach (var label in oldSection.SwitchLabels)
BoundTree\BoundNode_Source.cs (1)
288foreach (var label in section.SwitchLabels)
BoundTree\BoundStatementExtensions.cs (1)
43foreach (var boundSwitchLabel in ((BoundSwitchSection)node).SwitchLabels)
FlowAnalysis\AbstractFlowPass.cs (1)
864foreach (var label in sec.SwitchLabels)
FlowAnalysis\AbstractFlowPass_Switch.cs (2)
49foreach (var label in section.SwitchLabels) 123foreach (var label in node.SwitchLabels)
FlowAnalysis\ControlFlowPass.cs (2)
379var syntax = node.SwitchLabels.Last().Syntax; 389foreach (var label in section.SwitchLabels)
FlowAnalysis\NullableWalker_Patterns.cs (3)
282foreach (var label in section.SwitchLabels) 303foreach (var label in section.SwitchLabels) 320foreach (var label in node.SwitchLabels)
FlowAnalysis\VariablesDeclaredWalker.cs (1)
58foreach (var label in node.SwitchLabels)
Generated\BoundNodes.xml.Generated.cs (5)
5679if (locals != this.Locals || switchLabels != this.SwitchLabels || statements != this.Statements) 10391this.VisitList(node.SwitchLabels); 11656ImmutableArray<BoundSwitchLabel> switchLabels = this.VisitList(node.SwitchLabels); 13727ImmutableArray<BoundSwitchLabel> switchLabels = this.VisitList(node.SwitchLabels); 16254new TreeDumperNode("switchLabels", null, from x in node.SwitchLabels select Visit(x, null)),
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (1)
135foreach (BoundSwitchLabel switchLabel in section.SwitchLabels)
Operations\CSharpOperationFactory.cs (1)
2697ImmutableArray<ICaseClauseOperation> clauses = CreateFromArray<BoundSwitchLabel, ICaseClauseOperation>(boundSwitchSection.SwitchLabels);