5 references to IsGenericTaskType
Microsoft.CodeAnalysis.CSharp (5)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (3)
3269
if (y.OriginalDefinition.
IsGenericTaskType
(Compilation))
3482
bool type1IsGenericTask = type1.OriginalDefinition.
IsGenericTaskType
(Compilation);
3483
bool type2IsGenericTask = type2.OriginalDefinition.
IsGenericTaskType
(Compilation);
Compiler\MethodCompiler.cs (1)
241
if (returnType.
IsGenericTaskType
(compilation) || returnType.IsNonGenericTaskType(compilation))
Symbols\MethodSymbolExtensions.cs (1)
171
&& (method.HasAsyncMethodBuilderAttribute(builderArgument: out _) || method.ReturnType.
IsGenericTaskType
(compilation));