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