14 references to CancellationState
System.Linq.Parallel (14)
System\Linq\Parallel\Merging\DefaultMergeHelper.cs (1)
76_channelEnumerator = ExceptionAggregator.WrapQueryEnumerator(partitions[0], _taskGroupState.CancellationState).GetEnumerator();
System\Linq\Parallel\Merging\MergeEnumerator.cs (1)
68Debug.Assert(_taskGroupState.CancellationState.TopLevelDisposedFlag.Value);
System\Linq\Parallel\Merging\OrderPreservingPipeliningMergeHelper.cs (1)
354if (_mergeHelper._taskGroupState.CancellationState.MergedCancellationToken.IsCancellationRequested)
System\Linq\Parallel\Scheduling\OrderPreservingPipeliningSpoolingTask.cs (1)
98CancellationToken cancelToken = _taskGroupState.CancellationState.MergedCancellationToken;
System\Linq\Parallel\Scheduling\OrderPreservingSpoolingTask.cs (1)
137if (!_groupState.CancellationState.MergedCancellationToken.IsCancellationRequested)
System\Linq\Parallel\Scheduling\SpoolingTask.cs (2)
226CancellationToken cancelToken = _groupState.CancellationState.MergedCancellationToken; 315CancellationToken cancelToken = _groupState.CancellationState.MergedCancellationToken;
System\Linq\Parallel\Scheduling\SpoolingTaskBase.cs (4)
52oce.CancellationToken == _groupState.CancellationState.MergedCancellationToken 53&& _groupState.CancellationState.MergedCancellationToken.IsCancellationRequested) 62Debug.Assert(_groupState.CancellationState.InternalCancellationTokenSource != null); 63_groupState.CancellationState.InternalCancellationTokenSource.Cancel();
System\Linq\Parallel\Utils\Sorting.cs (3)
225CancellationToken cancelToken = _groupState.CancellationState.MergedCancellationToken; 282QuickSort(0, indices.Length - 1, keys.InternalArray, indices, _groupState.CancellationState.MergedCancellationToken); 359CancellationToken cancelToken = _groupState.CancellationState.MergedCancellationToken;