Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Aggregate< TSource >()

static TSource System.Linq.Queryable.Aggregate< TSource > ( this IQueryable< TSource > source,
Expression< Func< TSource, TSource, TSource > > func )
inlinestatic

Definition at line 1981 of file Queryable.cs.

1982 {
1983 if (source == null)
1984 {
1985 throw Error.ArgumentNull("source");
1986 }
1987 if (func == null)
1988 {
1989 throw Error.ArgumentNull("func");
1990 }
1991 return source.Provider.Execute<TSource>(Expression.Call(null, CachedReflectionInfo.Aggregate_TSource_2(typeof(TSource)), source.Expression, Expression.Quote(func)));
1992 }
static MethodCallExpression Call(MethodInfo method)
static UnaryExpression Quote(Expression expression)

References System.Linq.CachedReflectionInfo.Aggregate_TSource_2(), System.Linq.Error.ArgumentNull(), System.Linq.Expressions.Expression< TDelegate >.Call(), System.Linq.func, System.Linq.Expressions.Expression< TDelegate >.Quote(), and System.Linq.source.