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