3 writes to CancellationToken
mscorlib (3)
system\operationcanceledexception.cs (3)
54
CancellationToken
= token;
60
CancellationToken
= token;
66
CancellationToken
= token;
14 references to CancellationToken
mscorlib (7)
system\runtime\compilerservices\AsyncMethodBuilder.cs (1)
663
task.TrySetCanceled(oce.
CancellationToken
, oce) :
system\threading\Tasks\FutureFactory.cs (2)
563
promise.TrySetCanceled(oce.
CancellationToken
, oce);
1454
successfullySet = TrySetCanceled(oce.
CancellationToken
, oce);
system\threading\Tasks\Parallel.cs (1)
3562
if (oce == null || oce.
CancellationToken
!= ct)
system\threading\Tasks\Task.cs (3)
2912
m_contingentProperties.m_cancellationToken == exceptionAsOce.
CancellationToken
)
5596
bool succeeded = task.TrySetCanceled(exception.
CancellationToken
, exception);
7289
result = TrySetCanceled(oce.
CancellationToken
, oceEdi);
System.Core (6)
System\Linq\Parallel\QueryOperators\Inlined\InlinedAggregationOperator.cs (1)
82
&& cancelEx.
CancellationToken
== SpecifiedQuerySettings.CancellationState.ExternalCancellationToken
System\Linq\Parallel\Scheduling\QueryTaskGroupState.cs (2)
127
!oce.
CancellationToken
.IsCancellationRequested ||
128
oce.
CancellationToken
!= m_cancellationState.ExternalCancellationToken)
System\Linq\Parallel\Scheduling\SpoolingTaskBase.cs (1)
57
oce.
CancellationToken
== m_groupState.CancellationState.MergedCancellationToken
System\Linq\Parallel\Utils\ExceptionAggregator.cs (2)
169
cancelEx.
CancellationToken
== cancellationState.ExternalCancellationToken
177
cancelEx.
CancellationToken
== cancellationState.MergedCancellationToken
System.Web (1)
Hosting\BackgroundWorkScheduler.cs (1)
47
if (operationCanceledException != null && operationCanceledException.
CancellationToken
== _cancellationTokenHelper.Token) {