14 overrides of Take
System.Linq (14)
System\Linq\OrderedEnumerable.SpeedOpt.cs (2)
142
public override Iterator<TElement>
Take
(int count) => new SkipTakeOrderedIterator<TElement>(this, 0, count - 1);
515
public override Iterator<TElement>
Take
(int count)
System\Linq\Range.SpeedOpt.cs (1)
50
public override Iterator<int>
Take
(int count)
System\Linq\Repeat.SpeedOpt.cs (1)
48
public override Iterator<TResult>
Take
(int count)
System\Linq\Select.SpeedOpt.cs (6)
198
public override Iterator<TResult>
Take
(int count)
337
public override Iterator<TResult>
Take
(int count)
447
public override Iterator<TResult>
Take
(int count)
565
public override Iterator<TResult>
Take
(int count)
690
public override Iterator<TResult>?
Take
(int count)
890
public override Iterator<TResult>
Take
(int count)
System\Linq\Shuffle.SpeedOpt.cs (2)
73
public override Iterator<TSource>?
Take
(int count)
198
public override Iterator<TSource>?
Take
(int count) =>
System\Linq\SkipTake.SpeedOpt.cs (2)
61
public override Iterator<TSource>
Take
(int count)
366
public override Iterator<TSource>
Take
(int count)
4 references to Take
System.Linq (4)
System\Linq\Select.SpeedOpt.cs (1)
693
Iterator<TSource>? source = _source.
Take
(count);
System\Linq\Shuffle.SpeedOpt.cs (1)
78
return base.
Take
(count);
System\Linq\Take.SpeedOpt.cs (2)
17
source is Iterator<TSource> iterator ? (iterator.
Take
(count) ?? Empty<TSource>()) :
36
(source = iterator.
Take
(endIndex)) is not null &&