1 override of GetFirstUnusedStateMachineState
Microsoft.CodeAnalysis (1)
Emit\EditAndContinue\EncVariableSlotAllocator.cs (1)
358public override StateMachineState? GetFirstUnusedStateMachineState(bool increasing)
5 references to GetFirstUnusedStateMachineState
Microsoft.CodeAnalysis (2)
CodeGen\StateMachineStateDebugInfo.cs (2)
59firstUnusedIncreasingStateMachineState = variableSlotAllocator.GetFirstUnusedStateMachineState(increasing: true); 60firstUnusedDecreasingStateMachineState = variableSlotAllocator.GetFirstUnusedStateMachineState(increasing: false);
Microsoft.CodeAnalysis.CSharp (3)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (1)
74_nextFinalizeState = slotAllocatorOpt?.GetFirstUnusedStateMachineState(increasing: false) ?? StateMachineState.FirstIteratorFinalizeState;
Lowering\StateMachineRewriter\ResumableStateMachineStateAllocator.cs (2)
47_nextState = slotAllocator?.GetFirstUnusedStateMachineState(increasing) ?? firstState; 78=> _matchedStateCount < Math.Abs((_slotAllocator?.GetFirstUnusedStateMachineState(_increasing) ?? _firstState) - _firstState);