13 references to IsInAsyncContext
Microsoft.CodeAnalysis.VisualBasic (13)
Binding\Binder_Expressions.vb (1)
4617
ElseIf Not
IsInAsyncContext
() Then
Binding\Binder_Lambda.vb (2)
593
Debug.Assert(binder.
IsInAsyncContext
())
634
Debug.Assert(_binder.
IsInAsyncContext
())
Binding\Binder_Statements.vb (10)
335
If blockBinder.
IsInAsyncContext
() AndAlso Not blockBinder.IsInIteratorContext() AndAlso
487
If Not _binder.
IsInAsyncContext
() AndAlso TypeOf node Is BoundExpression Then
572
Debug.Assert(_binder.
IsInAsyncContext
())
585
Debug.Assert(_binder.
IsInAsyncContext
())
1136
ElseIf
IsInAsyncContext
() OrElse IsInIteratorContext() Then
1139
ElseIf
IsInAsyncContext
() OrElse IsInIteratorContext() Then
2650
ElseIf
IsInAsyncContext
() Then
3617
If Not controlVariable.HasErrors AndAlso
IsInAsyncContext
() AndAlso
5216
ElseIf
IsInAsyncContext
() OrElse IsInIteratorContext() Then
5251
ElseIf
IsInAsyncContext
() OrElse IsInIteratorContext() Then