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

◆ Any< TSource >() [2/2]

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

Definition at line 1301 of file Queryable.cs.

1302 {
1303 if (source == null)
1304 {
1305 throw Error.ArgumentNull("source");
1306 }
1307 if (predicate == null)
1308 {
1309 throw Error.ArgumentNull("predicate");
1310 }
1311 return source.Provider.Execute<bool>(Expression.Call(null, CachedReflectionInfo.Any_TSource_2(typeof(TSource)), source.Expression, Expression.Quote(predicate)));
1312 }
static MethodCallExpression Call(MethodInfo method)
static UnaryExpression Quote(Expression expression)

References System.Linq.CachedReflectionInfo.Any_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.