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

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

static IEnumerable< TSource > System.Linq.Enumerable.Intersect< TSource > ( this IEnumerable< TSource > first,
IEnumerable< TSource > second,
IEqualityComparer< TSource >? comparer )
inlinestatic

Definition at line 5048 of file Enumerable.cs.

5049 {
5050 if (first == null)
5051 {
5052 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.first);
5053 }
5054 if (second == null)
5055 {
5056 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.second);
5057 }
5058 return IntersectIterator(first, second, comparer);
5059 }

References System.comparer, System.Linq.first, System.Linq.second, and System.Linq.ThrowHelper.ThrowArgumentNullException().