12 overrides of Take
System.Linq (12)
System\Linq\OrderedEnumerable.SpeedOpt.cs (2)
142public override Iterator<TElement> Take(int count) => new SkipTakeOrderedIterator<TElement>(this, 0, count - 1); 516public override Iterator<TElement> Take(int count)
System\Linq\Range.SpeedOpt.cs (1)
50public override Iterator<int> Take(int count)
System\Linq\Repeat.SpeedOpt.cs (1)
48public override Iterator<TResult> Take(int count)
System\Linq\Select.SpeedOpt.cs (6)
198public override Iterator<TResult> Take(int count) 324public override Iterator<TResult> Take(int count) 421public override Iterator<TResult> Take(int count) 524public override Iterator<TResult> Take(int count) 634public override Iterator<TResult>? Take(int count) 834public override Iterator<TResult> Take(int count)
System\Linq\SkipTake.SpeedOpt.cs (2)
61public override Iterator<TSource> Take(int count) 353public override Iterator<TSource> Take(int count)
3 references to Take
System.Linq (3)
System\Linq\Select.SpeedOpt.cs (1)
637Iterator<TSource>? source = _source.Take(count);
System\Linq\Take.SpeedOpt.cs (2)
17source is Iterator<TSource> iterator ? (iterator.Take(count) ?? Empty<TSource>()) : 36(source = iterator.Take(endIndex)) is not null &&