7 references to IsRanToCompletion
mscorlib (7)
system\io\stream.cs (2)
518
Contract.Assert(asyncWaiter.
IsRanToCompletion
, "The semaphore wait should always complete successfully.");
525
Contract.Assert(t.
IsRanToCompletion
, "The semaphore wait should always complete successfully.");
system\runtime\compilerservices\TaskAwaiter.cs (1)
156
if (!task.
IsRanToCompletion
) ThrowForNonSuccess(task);
system\threading\Tasks\Future.cs (3)
445
return
IsRanToCompletion
? "" + m_result : Environment.GetResourceString("TaskT_DebuggerNoResult");
562
if (!
IsRanToCompletion
) ThrowIfExceptional(includeTaskCanceledExceptions: true);
565
Contract.Assert(
IsRanToCompletion
, "Task<T>.Result getter: Expected result to have been set.");
system\threading\Tasks\TaskContinuation.cs (1)
331
completedTask.
IsRanToCompletion
?