19 references to QueryAggregationOptions
System.Core (19)
System\Linq\Parallel\Enumerables\AggregationMinMaxHelpers.cs (1)
38
true, intermediateReduce, finalReduce, resultSelector, default(T) != null,
QueryAggregationOptions
.AssociativeCommutative);
System\Linq\Parallel\QueryOperators\AssociativeAggregationOperator.cs (4)
82
Func<TIntermediate, TOutput> resultSelector, bool throwIfEmpty,
QueryAggregationOptions
options)
89
Contract.Assert(Enum.IsDefined(typeof(
QueryAggregationOptions
), options), "enum out of valid range");
90
Contract.Assert((options &
QueryAggregationOptions
.Associative) ==
QueryAggregationOptions
.Associative, "expected an associative operator");
System\Linq\ParallelEnumerable.cs (14)
1579
Func<T, T, T> reduce, T seed, bool seedIsSpecified, bool throwIfEmpty,
QueryAggregationOptions
options)
1583
Contract.Assert(Enum.IsDefined(typeof(
QueryAggregationOptions
), options), "enum is out of range");
1677
return Aggregate<TSource>(source, func,
QueryAggregationOptions
.AssociativeCommutative);
1681
this ParallelQuery<TSource> source, Func<TSource, TSource, TSource> func,
QueryAggregationOptions
options)
1685
if ((~(
QueryAggregationOptions
.Associative |
QueryAggregationOptions
.Commutative) & options) != 0) throw new ArgumentOutOfRangeException("options");
1687
if ((options &
QueryAggregationOptions
.Associative) !=
QueryAggregationOptions
.Associative)
1724
return Aggregate<TSource, TAccumulate>(source, seed, func,
QueryAggregationOptions
.AssociativeCommutative);
1728
this ParallelQuery<TSource> source, TAccumulate seed, Func<TAccumulate, TSource, TAccumulate> func,
QueryAggregationOptions
options)
1732
if ((~(
QueryAggregationOptions
.Associative |
QueryAggregationOptions
.Commutative) & options) != 0) throw new ArgumentOutOfRangeException("options");
1832
false,
QueryAggregationOptions
.AssociativeCommutative).Aggregate();
1889
false,
QueryAggregationOptions
.AssociativeCommutative).Aggregate();