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