8 references to IsCustomTaskType
Microsoft.CodeAnalysis.CSharp (8)
BoundTree\UnboundLambda.cs (3)
307
if (delegateReturnType.
IsCustomTaskType
(builderArgument: out _))
1034
Debug.Assert(taskLikeReturnTypeOpt is null || ((object)taskLikeReturnTypeOpt == taskLikeReturnTypeOpt.ConstructedFrom && taskLikeReturnTypeOpt.
IsCustomTaskType
(out var builderArgument)));
1124
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)
1843
return namedType.
IsCustomTaskType
(builderArgument: out _);
1856
return namedType.
IsCustomTaskType
(builderArgument: out _);
1995
if (type.OriginalDefinition.
IsCustomTaskType
(builderArgument: out _))