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