5 references to IsGenericTaskType
Microsoft.CodeAnalysis.CSharp (5)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (3)
3248
if (y.OriginalDefinition.
IsGenericTaskType
(Compilation))
3461
bool type1IsGenericTask = type1.OriginalDefinition.
IsGenericTaskType
(Compilation);
3462
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));