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