5 references to IsCancellationRequested
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (5)
2064
else if (
IsCancellationRequested
&& IsCancellationAcknowledged)
2253
if (!
IsCancellationRequested
& !IsCanceled)
2278
if (!
IsCancellationRequested
& !IsCanceled)
2417
if (unhandledException is OperationCanceledException exceptionAsOce &&
IsCancellationRequested
&&
3307
Debug.Assert(
IsCancellationRequested
, "SetCancellationAcknowledged() should not be called if the task's CT wasn't signaled");