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

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

static IEnumerable< TSource > System.Linq.Enumerable.UnionBy< TSource, TKey > ( this IEnumerable< TSource > first,
IEnumerable< TSource > second,
Func< TSource, TKey > keySelector,
IEqualityComparer< TKey >? comparer )
inlinestatic

Definition at line 8497 of file Enumerable.cs.

8498 {
8499 if (first == null)
8500 {
8501 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.first);
8502 }
8503 if (second == null)
8504 {
8505 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.second);
8506 }
8507 if (keySelector == null)
8508 {
8509 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.keySelector);
8510 }
8512 }

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