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

◆ All< TSource >()

static bool System.Linq.Queryable.All< TSource > ( this IQueryable< TSource > source,
Expression< Func< TSource, bool > > predicate )
inlinestatic

Definition at line 1315 of file Queryable.cs.

1316 {
1317 if (source == null)
1318 {
1319 throw Error.ArgumentNull("source");
1320 }
1321 if (predicate == null)
1322 {
1323 throw Error.ArgumentNull("predicate");
1324 }
1325 return source.Provider.Execute<bool>(Expression.Call(null, CachedReflectionInfo.All_TSource_2(typeof(TSource)), source.Expression, Expression.Quote(predicate)));
1326 }
static MethodCallExpression Call(MethodInfo method)
static UnaryExpression Quote(Expression expression)

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