2 references to AddResumableState
Microsoft.CodeAnalysis.CSharp (2)
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (1)
266
AddResumableState
(_iteratorStateAllocator, node.Syntax, awaitId: default, out var stateNumber, out GeneratedLabelSymbol resumeLabel);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
210
=>
AddResumableState
(_resumableStateAllocator, awaitOrYieldReturnSyntax, awaitId, out state, out resumeLabel);