1 write to _slotAllocator
Microsoft.CodeAnalysis.CSharp (1)
Lowering\StateMachineRewriter\ResumableStateMachineStateAllocator.cs (1)
44
_slotAllocator
= slotAllocator;
2 references to _slotAllocator
Microsoft.CodeAnalysis.CSharp (2)
Lowering\StateMachineRewriter\ResumableStateMachineStateAllocator.cs (2)
56
if (
_slotAllocator
?.TryGetPreviousStateMachineState(awaitOrYieldReturnSyntax, awaitId, out var state) == true)
78
=> _matchedStateCount < Math.Abs((
_slotAllocator
?.GetFirstUnusedStateMachineState(_increasing) ?? _firstState) - _firstState);