1 override of GetFirstUnusedStateMachineState
Microsoft.CodeAnalysis (1)
Emit\EditAndContinue\EncVariableSlotAllocator.cs (1)
358
public override StateMachineState?
GetFirstUnusedStateMachineState
(bool increasing)
5 references to GetFirstUnusedStateMachineState
Microsoft.CodeAnalysis (2)
CodeGen\StateMachineStateDebugInfo.cs (2)
59
firstUnusedIncreasingStateMachineState = variableSlotAllocator.
GetFirstUnusedStateMachineState
(increasing: true);
60
firstUnusedDecreasingStateMachineState = 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);