2 references to IsNonGenericTaskType
Microsoft.CodeAnalysis.CSharp (2)
Compiler\MethodCompiler.cs (1)
241
if (returnType.IsGenericTaskType(compilation) || returnType.
IsNonGenericTaskType
(compilation))
Symbols\MethodSymbolExtensions.cs (1)
161
&& (method.HasAsyncMethodBuilderAttribute(builderArgument: out _) || method.ReturnType.
IsNonGenericTaskType
(compilation));