8 references to IsCustomTaskType
Microsoft.CodeAnalysis.CSharp (8)
BoundTree\UnboundLambda.cs (3)
307
if (delegateReturnType.
IsCustomTaskType
(builderArgument: out _))
994
Debug.Assert(taskLikeReturnTypeOpt is null || ((object)taskLikeReturnTypeOpt == taskLikeReturnTypeOpt.ConstructedFrom && taskLikeReturnTypeOpt.
IsCustomTaskType
(out var builderArgument)));
1084
if (delegateReturnType.
IsCustomTaskType
(out var builderType))
Lowering\AsyncRewriter\AsyncMethodBuilderMemberCollection.cs (2)
199
customBuilder = returnType.
IsCustomTaskType
(out builderArgument);
280
customBuilder = returnType.
IsCustomTaskType
(out builderArgument);
Symbols\TypeSymbolExtensions.cs (3)
1752
return namedType.
IsCustomTaskType
(builderArgument: out _);
1765
return namedType.
IsCustomTaskType
(builderArgument: out _);
1904
if (type.OriginalDefinition.
IsCustomTaskType
(builderArgument: out _))