6 references to Task
mscorlib (6)
system\io\stream.cs (1)
950
s_nullReadTask = nullReadTask = new
Task
<int>(false, 0, (TaskCreationOptions)InternalTaskOptions.DoNotDispose, CancellationToken.None); // benign ----
system\runtime\compilerservices\AsyncMethodBuilder.cs (1)
833
return new
Task
<TResult>(false, result, (TaskCreationOptions)InternalTaskOptions.DoNotDispose, default(CancellationToken));
system\threading\SemaphoreSlim.cs (1)
81
new
Task
<bool>(false, true, (TaskCreationOptions)InternalTaskOptions.DoNotDispose, default(CancellationToken));
system\threading\Tasks\FutureFactory.cs (1)
1471
return new
Task
<TResult>(true, default(TResult), tco, ct);
system\threading\Tasks\Task.cs (2)
5574
return new
Task
<TResult>(true, default(TResult), TaskCreationOptions.None, cancellationToken);
6324
new
Task
<TResult[]>(false, new TResult[0], TaskCreationOptions.None, default(CancellationToken)) :