8 references to TaskCache
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs (1)
62
internal static readonly Task<TResult> s_defaultResultTask =
TaskCache
.CreateCacheableTask<TResult>(default);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (7)
5403
Task<bool> task = *(bool*)&result ?
TaskCache
.s_trueTask :
TaskCache
.s_falseTask;
5412
if ((uint)(value -
TaskCache
.InclusiveInt32Min) < (
TaskCache
.ExclusiveInt32Max -
TaskCache
.InclusiveInt32Min))
5414
Task<int> task =
TaskCache
.s_int32Tasks[value -
TaskCache
.InclusiveInt32Min];