13 references to IsInAsyncContext
Microsoft.CodeAnalysis.VisualBasic (13)
Binding\Binder_Expressions.vb (1)
4644
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
518
If Not _binder.
IsInAsyncContext
() AndAlso TypeOf node Is BoundExpression Then
603
Debug.Assert(_binder.
IsInAsyncContext
())
616
Debug.Assert(_binder.
IsInAsyncContext
())
1167
ElseIf
IsInAsyncContext
() OrElse IsInIteratorContext() Then
1170
ElseIf
IsInAsyncContext
() OrElse IsInIteratorContext() Then
2679
ElseIf
IsInAsyncContext
() Then
3646
If Not controlVariable.HasErrors AndAlso
IsInAsyncContext
() AndAlso
5247
ElseIf
IsInAsyncContext
() OrElse IsInIteratorContext() Then
5282
ElseIf
IsInAsyncContext
() OrElse IsInIteratorContext() Then