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

◆ Zip< TFirst, TSecond >()

static IQueryable<(TFirst First, TSecond Second)> System.Linq.Queryable.Zip< TFirst, TSecond > ( this IQueryable< TFirst > source1,
IEnumerable< TSecond > source2 )
inlinestatic

Definition at line 707 of file Queryable.cs.

708 {
709 if (source1 == null)
710 {
711 throw Error.ArgumentNull("source1");
712 }
713 if (source2 == null)
714 {
715 throw Error.ArgumentNull("source2");
716 }
717 return source1.Provider.CreateQuery<(TFirst, TSecond)>(Expression.Call(null, CachedReflectionInfo.Zip_TFirst_TSecond_2(typeof(TFirst), typeof(TSecond)), source1.Expression, GetSourceExpression(source2)));
718 }
static MethodCallExpression Call(MethodInfo method)

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