1 write to Cases
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3713this.Cases = cases;
11 references to Cases
Microsoft.CodeAnalysis.CSharp (11)
CodeGen\EmitStatement.cs (3)
1214Debug.Assert(dispatch.Cases.Any()); 1218dispatch.Cases.Select(p => new KeyValuePair<ConstantValue, object>(p.value, p.label)).ToArray(), 1958foreach (var (value, label) in node.Cases)
CodeGen\Optimizer.cs (2)
1376foreach ((_, LabelSymbol label) in node.Cases) 1381return 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)
3728if (expression != this.Expression || cases != this.Cases || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(defaultLabel, this.DefaultLabel) || lengthBasedStringSwitchDataOpt != this.LengthBasedStringSwitchDataOpt) 10963return node.Update(expression, node.Cases, node.DefaultLabel, node.LengthBasedStringSwitchDataOpt); 15263new TreeDumperNode("cases", node.Cases, null),
Lowering\SpillSequenceSpiller.cs (1)
596return UpdateStatement(builder, node.Update(expression, node.Cases, node.DefaultLabel, node.LengthBasedStringSwitchDataOpt));
Lowering\UnmatchedGotoFinder.cs (1)
81foreach ((_, LabelSymbol label) in node.Cases)