12 overrides of Take
System.Linq (12)
System\Linq\OrderedEnumerable.SpeedOpt.cs (2)
142
public override Iterator<TElement>
Take
(int count) => new SkipTakeOrderedIterator<TElement>(this, 0, count - 1);
516
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)
324
public override Iterator<TResult>
Take
(int count)
421
public override Iterator<TResult>
Take
(int count)
524
public override Iterator<TResult>
Take
(int count)
634
public override Iterator<TResult>?
Take
(int count)
834
public override Iterator<TResult>
Take
(int count)
System\Linq\SkipTake.SpeedOpt.cs (2)
61
public override Iterator<TSource>
Take
(int count)
353
public override Iterator<TSource>
Take
(int count)
3 references to Take
System.Linq (3)
System\Linq\Select.SpeedOpt.cs (1)
637
Iterator<TSource>? source = _source.
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 &&