3 overrides of GetFirstUnusedStateMachineState
Microsoft.CodeAnalysis (1)
Emit\EditAndContinue\EncVariableSlotAllocator.cs (1)
332public override StateMachineState? GetFirstUnusedStateMachineState(bool increasing)
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
EEAssemblyBuilder.cs (1)
182public override StateMachineState? GetFirstUnusedStateMachineState(bool increasing) => null;
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
EEAssemblyBuilder.vb (1)
198Public Overrides Function GetFirstUnusedStateMachineState(increasing As Boolean) As StateMachineState?
8 references to GetFirstUnusedStateMachineState
Microsoft.CodeAnalysis (2)
CodeGen\StateMachineStateDebugInfo.cs (2)
64firstUnusedIncreasingStateMachineState = variableSlotAllocator.GetFirstUnusedStateMachineState(increasing: true); 65firstUnusedDecreasingStateMachineState = variableSlotAllocator.GetFirstUnusedStateMachineState(increasing: false);
Microsoft.CodeAnalysis.CSharp (3)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (1)
72_nextFinalizeState = slotAllocatorOpt?.GetFirstUnusedStateMachineState(increasing: false) ?? StateMachineState.FirstIteratorFinalizeState;
Lowering\StateMachineRewriter\ResumableStateMachineStateAllocator.cs (2)
43_nextState = slotAllocator?.GetFirstUnusedStateMachineState(increasing) ?? firstState; 74=> _matchedStateCount < Math.Abs((_slotAllocator?.GetFirstUnusedStateMachineState(_increasing) ?? _firstState) - _firstState);
Microsoft.CodeAnalysis.VisualBasic (3)
CodeGen\ResumableStateMachineStateAllocator.vb (2)
41_nextState = If(slotAllocator?.GetFirstUnusedStateMachineState(increasing), firstState) 70Return _matchedStateCount < If(_slotAllocator?.GetFirstUnusedStateMachineState(_increasing), _firstState) - _firstState
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
102_nextFinalizerState = If(slotAllocatorOpt?.GetFirstUnusedStateMachineState(increasing:=False), StateMachineState.FirstIteratorFinalizeState)