8 references to IsCustomTaskType
Microsoft.CodeAnalysis.CSharp (8)
BoundTree\UnboundLambda.cs (3)
322
if (delegateReturnType.
IsCustomTaskType
(builderArgument: out _))
1091
Debug.Assert(taskLikeReturnTypeOpt is null || ((object)taskLikeReturnTypeOpt == taskLikeReturnTypeOpt.ConstructedFrom && taskLikeReturnTypeOpt.
IsCustomTaskType
(out var builderArgument)));
1181
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)
1854
return namedType.
IsCustomTaskType
(builderArgument: out _);
1867
return namedType.
IsCustomTaskType
(builderArgument: out _);
2006
if (type.OriginalDefinition.
IsCustomTaskType
(builderArgument: out _))