2 references to BindsToResumableStateMachineState
Microsoft.CodeAnalysis.CSharp (2)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
226
RoslynDebug.Assert(SyntaxBindingUtilities.
BindsToResumableStateMachineState
(node) || SyntaxBindingUtilities.BindsToTryStatement(node), $"Unexpected syntax: {node.Kind()}");
Lowering\StateMachineRewriter\ResumableStateMachineStateAllocator.cs (1)
52
Debug.Assert(SyntaxBindingUtilities.
BindsToResumableStateMachineState
(awaitOrYieldReturnSyntax));