3 writes to _dispatches
Microsoft.CodeAnalysis.CSharp (3)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (3)
234
_dispatches
??= new Dictionary<LabelSymbol, List<StateMachineState>>();
880
_dispatches
= null;
897
_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
878
var oldDispatches =
_dispatches
;
884
if (
_dispatches
!= null)
894
oldDispatches.Add(dispatchLabel, new List<StateMachineState>(from kv in
_dispatches
.Values from n in kv orderby n select n));