3 references to AddResumableState
Microsoft.CodeAnalysis.CSharp (3)
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
464
AddResumableState
(awaitSyntax, debugInfo.AwaitId, out StateMachineState stateNumber, out GeneratedLabelSymbol resumeLabel);
501
AddResumableState
(awaitSyntax, new AwaitDebugId((byte)(debugInfo.AwaitId.RelativeStateOrdinal + 1 + i)), out _, out var dummyResumeLabel);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (1)
335
AddResumableState
(node.Syntax, awaitId: default, out StateMachineState stateNumber, out GeneratedLabelSymbol resumeLabel);