14 references to SetCountAndGetSpan
System.Linq (14)
System\Linq\AppendPrepend.SpeedOpt.cs (2)
262
_prepended?.Fill(
SetCountAndGetSpan
(list, _prependCount));
266
_appended?.FillReversed(
SetCountAndGetSpan
(list, list.Count + _appendCount));
System\Linq\Lookup.cs (1)
160
Span<TResult> span = Enumerable.
SetCountAndGetSpan
(list, _count);
System\Linq\OrderedEnumerable.SpeedOpt.cs (2)
35
Fill(buffer,
SetCountAndGetSpan
(list, buffer.Length));
108
Fill(minIdx, maxIdx, buffer,
SetCountAndGetSpan
(list, maxIdx - minIdx + 1));
System\Linq\Range.SpeedOpt.cs (1)
29
FillIncrementing(
SetCountAndGetSpan
(list, end - start), start);
System\Linq\Repeat.SpeedOpt.cs (1)
27
SetCountAndGetSpan
(list, _count).Fill(_current);
System\Linq\Select.SpeedOpt.cs (6)
158
Fill(source,
SetCountAndGetSpan
(results, source.Length), _selector);
284
Fill(
SetCountAndGetSpan
(results, _end - _start), _start, _selector);
384
Fill(source,
SetCountAndGetSpan
(results, source.Length), _selector);
487
Fill(source,
SetCountAndGetSpan
(results, count), _selector);
738
Fill(_source,
SetCountAndGetSpan
(list, count), _selector);
915
Fill(_source,
SetCountAndGetSpan
(list, count), _selector, _minIndexInclusive);
System\Linq\SkipTake.SpeedOpt.cs (1)
140
Fill(_source,
SetCountAndGetSpan
(list, count), _minIndexInclusive);