12 references to WrapEnumerable
System.Linq.Parallel (12)
System\Linq\Parallel\QueryOperators\QueryOperator.cs (2)
132
return ExceptionAggregator.
WrapEnumerable
(opSequential, querySettings.CancellationState).GetEnumerator();
205
return ExceptionAggregator.
WrapEnumerable
(opSequentialWithCancelChecks, querySettings.CancellationState).ToArray();
System\Linq\Parallel\QueryOperators\Unary\ElementAtQueryOperator.cs (2)
136
result = ExceptionAggregator.
WrapEnumerable
(childWithCancelChecks, cancelState).ElementAtOrDefault(_index)!;
142
result = ExceptionAggregator.
WrapEnumerable
(childWithCancelChecks, cancelState).ElementAt(_index);
System\Linq\ParallelEnumerable.cs (8)
5413
return ExceptionAggregator.
WrapEnumerable
(childWithCancelChecks, settings.CancellationState)
5455
return ExceptionAggregator.
WrapEnumerable
(childWithCancelChecks, settings.CancellationState)
5496
return ExceptionAggregator.
WrapEnumerable
(childWithCancelChecks,
5541
return ExceptionAggregator.
WrapEnumerable
(
5590
return ExceptionAggregator.
WrapEnumerable
(childWithCancelChecks, settings.CancellationState).Last();
5632
return ExceptionAggregator.
WrapEnumerable
(
5674
return ExceptionAggregator.
WrapEnumerable
(childWithCancelChecks, settings.CancellationState).LastOrDefault();
5715
return ExceptionAggregator.
WrapEnumerable
(