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)
4407
ExceptionAggregator
.ThrowOCEorAggregateException(ex, settings.CancellationState);
4434
ExceptionAggregator
.ThrowOCEorAggregateException(ex, cancelState);
5413
return
ExceptionAggregator
.WrapEnumerable(childWithCancelChecks, settings.CancellationState)
5455
return
ExceptionAggregator
.WrapEnumerable(childWithCancelChecks, settings.CancellationState)
5456
.First(
ExceptionAggregator
.WrapFunc<TSource, bool>(predicate, settings.CancellationState));
5496
return
ExceptionAggregator
.WrapEnumerable(childWithCancelChecks,
5541
return
ExceptionAggregator
.WrapEnumerable(
5543
.FirstOrDefault(
ExceptionAggregator
.WrapFunc<TSource, bool>(predicate, settings.CancellationState));
5590
return
ExceptionAggregator
.WrapEnumerable(childWithCancelChecks, settings.CancellationState).Last();
5632
return
ExceptionAggregator
.WrapEnumerable(
5634
.Last(
ExceptionAggregator
.WrapFunc<TSource, bool>(predicate, settings.CancellationState));
5674
return
ExceptionAggregator
.WrapEnumerable(childWithCancelChecks, settings.CancellationState).LastOrDefault();
5715
return
ExceptionAggregator
.WrapEnumerable(
5717
.LastOrDefault(
ExceptionAggregator
.WrapFunc<TSource, bool>(predicate, settings.CancellationState));