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

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

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

Definition at line 8224 of file Enumerable.cs.

8225 {
8226 if (source == null)
8227 {
8228 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.source);
8229 }
8230 if (predicate == null)
8231 {
8232 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.predicate);
8233 }
8235 }

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