1 write to Cases
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3825this.Cases = cases;
11 references to Cases
Microsoft.CodeAnalysis.CSharp (11)
CodeGen\EmitStatement.cs (3)
1239Debug.Assert(dispatch.Cases.Any()); 1243dispatch.Cases.Select(p => new KeyValuePair<ConstantValue, object>(p.value, p.label)).ToArray(), 1981foreach (var (value, label) in node.Cases)
CodeGen\Optimizer.cs (2)
1443foreach ((_, LabelSymbol label) in node.Cases) 1448return node.Update(boundExpression, node.Cases, node.DefaultLabel, node.LengthBasedStringSwitchDataOpt);
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
136foreach ((_, LabelSymbol label) in node.Cases)
Generated\BoundNodes.xml.Generated.cs (3)
3840if (expression != this.Expression || cases != this.Cases || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(defaultLabel, this.DefaultLabel) || lengthBasedStringSwitchDataOpt != this.LengthBasedStringSwitchDataOpt) 11395return node.Update(expression, node.Cases, node.DefaultLabel, node.LengthBasedStringSwitchDataOpt); 15860new TreeDumperNode("cases", node.Cases, null),
Lowering\SpillSequenceSpiller.cs (1)
667return UpdateStatement(builder, node.Update(expression, node.Cases, node.DefaultLabel, node.LengthBasedStringSwitchDataOpt));
Lowering\UnmatchedGotoFinder.cs (1)
81foreach ((_, LabelSymbol label) in node.Cases)