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

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

static IEnumerable< TSource > System.Linq.Enumerable.TakeWhile< TSource > ( this IEnumerable< TSource > source,
Func< TSource, int, bool > predicate )
inlinestatic

Definition at line 8249 of file Enumerable.cs.

8250 {
8251 if (source == null)
8252 {
8253 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.source);
8254 }
8255 if (predicate == null)
8256 {
8257 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.predicate);
8258 }
8260 }

References System.Linq.predicate, System.Linq.source, and System.Linq.ThrowHelper.ThrowArgumentNullException().