22 references to AsyncMethodKind
Microsoft.CodeAnalysis.VisualBasic (22)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Statements.vb (1)
27
Debug.Assert(Me._asyncMethodKind =
AsyncMethodKind
.GenericTaskFunction)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.vb (3)
52
Private ReadOnly _asyncMethodKind As
AsyncMethodKind
85
If Me._asyncMethodKind =
AsyncMethodKind
.GenericTaskFunction Then
213
If(Me._asyncMethodKind =
AsyncMethodKind
.GenericTaskFunction,
Lowering\AsyncRewriter\AsyncRewriter.vb (18)
21
Private ReadOnly _asyncMethodKind As
AsyncMethodKind
33
asyncKind As
AsyncMethodKind
,
47
Debug.Assert(asyncKind <>
AsyncMethodKind
.None)
52
Case
AsyncMethodKind
.Sub
56
Case
AsyncMethodKind
.TaskFunction
60
Case
AsyncMethodKind
.GenericTaskFunction
85
Dim asyncMethodKind As
AsyncMethodKind
= GetAsyncMethodKind(method)
86
If asyncMethodKind =
AsyncMethodKind
.None Then
247
If(Me._asyncMethodKind =
AsyncMethodKind
.[Sub],
330
Case
AsyncMethodKind
.GenericTaskFunction
332
Case
AsyncMethodKind
.TaskFunction
334
Case
AsyncMethodKind
.[Sub]
364
Friend Shared Function GetAsyncMethodKind(method As MethodSymbol) As
AsyncMethodKind
367
Return
AsyncMethodKind
.None
371
Return
AsyncMethodKind
.[Sub]
379
Return
AsyncMethodKind
.TaskFunction
384
Return
AsyncMethodKind
.GenericTaskFunction
388
Return
AsyncMethodKind
.None