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

◆ IntersectBy< TSource, TKey >() [1/2]

static IQueryable< TSource > System.Linq.Queryable.IntersectBy< TSource, TKey > ( this IQueryable< TSource > source1,
IEnumerable< TKey > source2,
Expression< Func< TSource, TKey > > keySelector )
inlinestatic

Definition at line 849 of file Queryable.cs.

850 {
851 if (source1 == null)
852 {
853 throw Error.ArgumentNull("source1");
854 }
855 if (source2 == null)
856 {
857 throw Error.ArgumentNull("source2");
858 }
859 if (keySelector == null)
860 {
861 throw Error.ArgumentNull("keySelector");
862 }
863 return source1.Provider.CreateQuery<TSource>(Expression.Call(null, CachedReflectionInfo.IntersectBy_TSource_TKey_3(typeof(TSource), typeof(TKey)), source1.Expression, GetSourceExpression(source2), Expression.Quote(keySelector)));
864 }
static MethodCallExpression Call(MethodInfo method)
static UnaryExpression Quote(Expression expression)

References System.Linq.Error.ArgumentNull(), System.Linq.Expressions.Expression< TDelegate >.Call(), System.Linq.CachedReflectionInfo.IntersectBy_TSource_TKey_3(), System.Linq.keySelector, and System.Linq.Expressions.Expression< TDelegate >.Quote().