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