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)
5410
return ExceptionAggregator.
WrapEnumerable
(childWithCancelChecks, settings.CancellationState)
5452
return ExceptionAggregator.
WrapEnumerable
(childWithCancelChecks, settings.CancellationState)
5493
return ExceptionAggregator.
WrapEnumerable
(childWithCancelChecks,
5538
return ExceptionAggregator.
WrapEnumerable
(
5587
return ExceptionAggregator.
WrapEnumerable
(childWithCancelChecks, settings.CancellationState).Last();
5629
return ExceptionAggregator.
WrapEnumerable
(
5671
return ExceptionAggregator.
WrapEnumerable
(childWithCancelChecks, settings.CancellationState).LastOrDefault();
5712
return ExceptionAggregator.
WrapEnumerable
(