34 references to Wrap
System.Core (34)
System\Linq\Parallel\QueryOperators\Binary\ExceptQueryOperator.cs (2)
120
IEnumerable<TInputOutput> wrappedLeftChild = CancellableEnumerable.
Wrap
(LeftChild.AsSequentialQuery(token), token);
121
IEnumerable<TInputOutput> wrappedRightChild = CancellableEnumerable.
Wrap
(RightChild.AsSequentialQuery(token), token);
System\Linq\Parallel\QueryOperators\Binary\GroupJoinQueryOperator.cs (2)
127
IEnumerable<TLeftInput> wrappedLeftChild = CancellableEnumerable.
Wrap
(LeftChild.AsSequentialQuery(token), token);
128
IEnumerable<TRightInput> wrappedRightChild = CancellableEnumerable.
Wrap
(RightChild.AsSequentialQuery(token), token);
System\Linq\Parallel\QueryOperators\Binary\IntersectQueryOperator.cs (2)
227
IEnumerable<TInputOutput> wrappedLeftChild = CancellableEnumerable.
Wrap
(LeftChild.AsSequentialQuery(token), token);
228
IEnumerable<TInputOutput> wrappedRightChild = CancellableEnumerable.
Wrap
(RightChild.AsSequentialQuery(token), token);
System\Linq\Parallel\QueryOperators\Binary\JoinQueryOperator.cs (2)
138
IEnumerable<TLeftInput> wrappedLeftChild = CancellableEnumerable.
Wrap
(LeftChild.AsSequentialQuery(token), token);
139
IEnumerable<TRightInput> wrappedRightChild = CancellableEnumerable.
Wrap
(RightChild.AsSequentialQuery(token), token);
System\Linq\Parallel\QueryOperators\Binary\UnionQueryOperator.cs (2)
166
IEnumerable<TInputOutput> wrappedLeftChild = CancellableEnumerable.
Wrap
(LeftChild.AsSequentialQuery(token), token);
167
IEnumerable<TInputOutput> wrappedRightChild = CancellableEnumerable.
Wrap
(RightChild.AsSequentialQuery(token), token);
System\Linq\Parallel\QueryOperators\QueryOperator.cs (1)
211
IEnumerable<TOutput> opSequentialWithCancelChecks = CancellableEnumerable.
Wrap
(opSequential, querySettings.CancellationState.ExternalCancellationToken);
System\Linq\Parallel\QueryOperators\Unary\DistinctQueryOperator.cs (1)
193
IEnumerable<TInputOutput> wrappedChild = CancellableEnumerable.
Wrap
(Child.AsSequentialQuery(token), token);
System\Linq\Parallel\QueryOperators\Unary\ElementAtQueryOperator.cs (2)
138
IEnumerable<TSource> childWithCancelChecks = CancellableEnumerable.
Wrap
(childAsSequential, cancelState.ExternalCancellationToken);
144
IEnumerable<TSource> childWithCancelChecks = CancellableEnumerable.
Wrap
(childAsSequential, cancelState.ExternalCancellationToken);
System\Linq\Parallel\QueryOperators\Unary\GroupByQueryOperator.cs (1)
195
IEnumerable<TSource> wrappedChild = CancellableEnumerable.
Wrap
(Child.AsSequentialQuery(token), token);
System\Linq\Parallel\QueryOperators\Unary\IndexedWhereQueryOperator.cs (1)
124
IEnumerable<TInputOutput> wrappedChild = CancellableEnumerable.
Wrap
(Child.AsSequentialQuery(token), token);
System\Linq\Parallel\QueryOperators\Unary\ReverseQueryOperator.cs (1)
91
IEnumerable<TSource> wrappedChild = CancellableEnumerable.
Wrap
(Child.AsSequentialQuery(token), token);
System\Linq\Parallel\QueryOperators\Unary\SelectManyQueryOperator.cs (4)
206
return CancellableEnumerable.
Wrap
(Child.AsSequentialQuery(token), token).SelectMany(m_rightChildSelector, m_resultSelector);
208
return (IEnumerable<TOutput>)(object)(CancellableEnumerable.
Wrap
(Child.AsSequentialQuery(token), token).SelectMany(m_rightChildSelector));
215
return CancellableEnumerable.
Wrap
(Child.AsSequentialQuery(token), token).SelectMany(m_indexedRightChildSelector, m_resultSelector);
218
return (IEnumerable<TOutput>)(object)(CancellableEnumerable.
Wrap
(Child.AsSequentialQuery(token), token).SelectMany(m_indexedRightChildSelector));
System\Linq\Parallel\QueryOperators\Unary\SortQueryOperator.cs (1)
133
IEnumerable<TInputOutput> wrappedChild = CancellableEnumerable.
Wrap
(Child.AsSequentialQuery(token), token);
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (1)
323
IEnumerable<TResult> wrappedChild = CancellableEnumerable.
Wrap
(Child.AsSequentialQuery(token), token);
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (2)
186
IEnumerable<TResult> wrappedIndexedChild = CancellableEnumerable.
Wrap
(Child.AsSequentialQuery(token), token);
190
IEnumerable<TResult> wrappedChild = CancellableEnumerable.
Wrap
(Child.AsSequentialQuery(token), token);
System\Linq\Parallel\QueryOperators\Unary\WhereQueryOperator.cs (1)
88
IEnumerable<TInputOutput> wrappedChild = CancellableEnumerable.
Wrap
(Child.AsSequentialQuery(token), token);
System\Linq\ParallelEnumerable.cs (8)
5456
IEnumerable<TSource> childWithCancelChecks = CancellableEnumerable.
Wrap
(childAsSequential, settings.CancellationState.ExternalCancellationToken);
5498
IEnumerable<TSource> childWithCancelChecks = CancellableEnumerable.
Wrap
(childAsSequential, settings.CancellationState.ExternalCancellationToken);
5540
IEnumerable<TSource> childWithCancelChecks = CancellableEnumerable.
Wrap
(childAsSequential, settings.CancellationState.ExternalCancellationToken);
5585
IEnumerable<TSource> childWithCancelChecks = CancellableEnumerable.
Wrap
(childAsSequential, settings.CancellationState.ExternalCancellationToken);
5634
IEnumerable<TSource> childWithCancelChecks = CancellableEnumerable.
Wrap
(childAsSequential, settings.CancellationState.ExternalCancellationToken);
5676
IEnumerable<TSource> childWithCancelChecks = CancellableEnumerable.
Wrap
(childAsSequential, settings.CancellationState.ExternalCancellationToken);
5718
IEnumerable<TSource> childWithCancelChecks = CancellableEnumerable.
Wrap
(childAsSequential, settings.CancellationState.ExternalCancellationToken);
5759
IEnumerable<TSource> childWithCancelChecks = CancellableEnumerable.
Wrap
(childAsSequential, settings.CancellationState.ExternalCancellationToken);