1 write to _minIndexInclusive
System.Linq (1)
System\Linq\SkipTake.SpeedOpt.cs (1)
28
_minIndexInclusive
= minIndexInclusive;
23 references to _minIndexInclusive
System.Linq (23)
System\Linq\SkipTake.SpeedOpt.cs (23)
33
new IListSkipTakeIterator<TSource>(_source,
_minIndexInclusive
, _maxIndexInclusive);
41
if ((uint)index <= (uint)(_maxIndexInclusive -
_minIndexInclusive
) && index < _source.Count -
_minIndexInclusive
)
43
_current = _source[
_minIndexInclusive
+ index];
53
new IListSkipTakeSelectIterator<TSource, TResult>(_source, selector,
_minIndexInclusive
, _maxIndexInclusive);
57
int minIndex =
_minIndexInclusive
+ count;
63
int maxIndex =
_minIndexInclusive
+ count - 1;
64
return (uint)maxIndex >= (uint)_maxIndexInclusive ? this : new IListSkipTakeIterator<TSource>(_source,
_minIndexInclusive
, maxIndex);
69
if ((uint)index <= (uint)(_maxIndexInclusive -
_minIndexInclusive
) && index < _source.Count -
_minIndexInclusive
)
72
return _source[
_minIndexInclusive
+ index];
81
if (_source.Count >
_minIndexInclusive
)
84
return _source[
_minIndexInclusive
];
94
if (lastIndex >=
_minIndexInclusive
)
109
if (count <=
_minIndexInclusive
)
114
return Math.Min(count - 1, _maxIndexInclusive) -
_minIndexInclusive
+ 1;
129
Fill(_source, array,
_minIndexInclusive
);
140
Fill(_source, SetCountAndGetSpan(list, count),
_minIndexInclusive
);
147
Fill(_source, array.AsSpan(arrayIndex, Count),
_minIndexInclusive
);
163
int end =
_minIndexInclusive
+ Count;
164
for (int i =
_minIndexInclusive
; i < end; i++)
168
return i -
_minIndexInclusive
;
184
return _source[
_minIndexInclusive
+ index];