13 references to IsInAsyncContext
Microsoft.CodeAnalysis.VisualBasic (13)
Binding\Binder_Expressions.vb (1)
4644ElseIf Not IsInAsyncContext() Then
Binding\Binder_Lambda.vb (2)
593Debug.Assert(binder.IsInAsyncContext()) 634Debug.Assert(_binder.IsInAsyncContext())
Binding\Binder_Statements.vb (10)
335If blockBinder.IsInAsyncContext() AndAlso Not blockBinder.IsInIteratorContext() AndAlso 518If Not _binder.IsInAsyncContext() AndAlso TypeOf node Is BoundExpression Then 603Debug.Assert(_binder.IsInAsyncContext()) 616Debug.Assert(_binder.IsInAsyncContext()) 1167ElseIf IsInAsyncContext() OrElse IsInIteratorContext() Then 1170ElseIf IsInAsyncContext() OrElse IsInIteratorContext() Then 2679ElseIf IsInAsyncContext() Then 3646If Not controlVariable.HasErrors AndAlso IsInAsyncContext() AndAlso 5247ElseIf IsInAsyncContext() OrElse IsInIteratorContext() Then 5282ElseIf IsInAsyncContext() OrElse IsInIteratorContext() Then