3 writes to _dispatches
Microsoft.CodeAnalysis.CSharp (3)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (3)
229
_dispatches
??= new Dictionary<LabelSymbol, List<StateMachineState>>();
862
_dispatches
= null;
879
_dispatches
= oldDispatches;
6 references to _dispatches
Microsoft.CodeAnalysis.CSharp (6)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (6)
232
_dispatches
.Add(resumeLabel, new List<StateMachineState> { stateNumber });
236
/// Generates code that switches over states and jumps to the target labels listed in <see cref="
_dispatches
"/>.
243
var sections = from kv in
_dispatches
860
var oldDispatches =
_dispatches
;
866
if (
_dispatches
!= null)
876
oldDispatches.Add(dispatchLabel, new List<StateMachineState>(from kv in
_dispatches
.Values from n in kv orderby n select n));