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