3 writes to _dispatches
Microsoft.CodeAnalysis.CSharp (3)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (3)
234
_dispatches
??= new Dictionary<LabelSymbol, List<StateMachineState>>();
887
_dispatches
= null;
904
_dispatches
= oldDispatches;
6 references to _dispatches
Microsoft.CodeAnalysis.CSharp (6)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (6)
237
_dispatches
.Add(resumeLabel, new List<StateMachineState> { stateNumber });
241
/// Generates code that switches over states and jumps to the target labels listed in <see cref="
_dispatches
"/>.
248
var sections = from kv in
_dispatches
885
var oldDispatches =
_dispatches
;
891
if (
_dispatches
!= null)
901
oldDispatches.Add(dispatchLabel, new List<StateMachineState>(from kv in
_dispatches
.Values from n in kv orderby n select n));