13 references to IsInAsyncContext
Microsoft.CodeAnalysis.VisualBasic (13)
Binding\Binder_Expressions.vb (1)
4617ElseIf 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 487If Not _binder.IsInAsyncContext() AndAlso TypeOf node Is BoundExpression Then 572Debug.Assert(_binder.IsInAsyncContext()) 585Debug.Assert(_binder.IsInAsyncContext()) 1136ElseIf IsInAsyncContext() OrElse IsInIteratorContext() Then 1139ElseIf IsInAsyncContext() OrElse IsInIteratorContext() Then 2650ElseIf IsInAsyncContext() Then 3617If Not controlVariable.HasErrors AndAlso IsInAsyncContext() AndAlso 5216ElseIf IsInAsyncContext() OrElse IsInIteratorContext() Then 5251ElseIf IsInAsyncContext() OrElse IsInIteratorContext() Then