1 instantiation of SyntheticSwitchSection
Microsoft.CodeAnalysis.CSharp (1)
Lowering\SyntheticBoundNodeFactory.cs (1)
1058
=>
new
(values, ImmutableArray.Create(statements));
11 references to SyntheticSwitchSection
Microsoft.CodeAnalysis.CSharp (11)
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (4)
307
var cases = ArrayBuilder<SyntheticBoundNodeFactory.
SyntheticSwitchSection
>.GetInstance();
315
var
caseStatement = _F.SwitchSection(i, _F.Goto(parentProxy));
353
var
caseStatement = _F.SwitchSection(i, unpendReturn);
488
var handlers = ArrayBuilder<SyntheticBoundNodeFactory.
SyntheticSwitchSection
>.GetInstance(handlersList.Count);
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
1099
var whenFalseSwitchSections = ArrayBuilder<
SyntheticSwitchSection
>.GetInstance();
Lowering\SyntheticBoundNodeFactory.cs (6)
1054
public
SyntheticSwitchSection
SwitchSection(int value, params BoundStatement[] statements)
1057
public
SyntheticSwitchSection
SwitchSection(ImmutableArray<int> values, params BoundStatement[] statements)
1063
public BoundStatement Switch(BoundExpression ex, ImmutableArray<
SyntheticSwitchSection
> sections)
1079
foreach (
var
section in sections)
1102
private static void CheckSwitchSections(ImmutableArray<
SyntheticSwitchSection
> sections)
1105
foreach (
var
s in sections)