14 references to IsCancellationRequested
mscorlib (8)
system\threading\CancellationToken.cs (1)
90
return m_source != null && m_source.
IsCancellationRequested
;
system\threading\CancellationTokenRegistration.cs (1)
83
if (tokenSource.
IsCancellationRequested
&& //running callbacks has commenced.
system\threading\CancellationTokenSource.cs (6)
198
if (
IsCancellationRequested
)
469
if (
IsCancellationRequested
) return;
650
if (!
IsCancellationRequested
)
692
if (!
IsCancellationRequested
)
719
if (
IsCancellationRequested
)
753
Contract.Assert(
IsCancellationRequested
, "ExecuteCallbackHandlers should only be called after setting IsCancellationRequested->true");
System (3)
sys\system\collections\concurrent\BlockingCollection.cs (3)
1038
if (linkedTokenSource.
IsCancellationRequested
)
1443
if (linkedTokenSource.
IsCancellationRequested
&& externalCancellationToken.IsCancellationRequested)//case#3
1447
else if (!linkedTokenSource.
IsCancellationRequested
)// if no eiter internal or external cancellation trquested
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (1)
142
Fx.Assert(this.cancellationTokenSource.
IsCancellationRequested
== false, "We should only request for cancel once.");
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (1)
142
Fx.Assert(this.cancellationTokenSource.
IsCancellationRequested
== false, "We should only request for cancel once.");
System.Web (1)
Util\CancellationTokenHelper.cs (1)
38
get { return _cts.
IsCancellationRequested
; }