19 references to ExceptionAggregator
System.Linq.Parallel (19)
System\Linq\Parallel\Merging\DefaultMergeHelper.cs (1)
76
_channelEnumerator =
ExceptionAggregator
.WrapQueryEnumerator(partitions[0], _taskGroupState.CancellationState).GetEnumerator();
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 (14)
4404
ExceptionAggregator
.ThrowOCEorAggregateException(ex, settings.CancellationState);
4431
ExceptionAggregator
.ThrowOCEorAggregateException(ex, cancelState);
5410
return
ExceptionAggregator
.WrapEnumerable(childWithCancelChecks, settings.CancellationState)
5452
return
ExceptionAggregator
.WrapEnumerable(childWithCancelChecks, settings.CancellationState)
5453
.First(
ExceptionAggregator
.WrapFunc<TSource, bool>(predicate, settings.CancellationState));
5493
return
ExceptionAggregator
.WrapEnumerable(childWithCancelChecks,
5538
return
ExceptionAggregator
.WrapEnumerable(
5540
.FirstOrDefault(
ExceptionAggregator
.WrapFunc<TSource, bool>(predicate, settings.CancellationState));
5587
return
ExceptionAggregator
.WrapEnumerable(childWithCancelChecks, settings.CancellationState).Last();
5629
return
ExceptionAggregator
.WrapEnumerable(
5631
.Last(
ExceptionAggregator
.WrapFunc<TSource, bool>(predicate, settings.CancellationState));
5671
return
ExceptionAggregator
.WrapEnumerable(childWithCancelChecks, settings.CancellationState).LastOrDefault();
5712
return
ExceptionAggregator
.WrapEnumerable(
5714
.LastOrDefault(
ExceptionAggregator
.WrapFunc<TSource, bool>(predicate, settings.CancellationState));