2 references to GenerateThrowMissingStateDispatch
Microsoft.CodeAnalysis.CSharp (2)
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (1)
82
var iteratorDispatch = _iteratorStateAllocator.
GenerateThrowMissingStateDispatch
(F, F.Local(cachedState), CodeAnalysisResources.EncCannotResumeSuspendedIteratorMethod);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
268
=> _resumableStateAllocator.
GenerateThrowMissingStateDispatch
(F, F.Local(cachedState), EncMissingStateMessage);