1 write to _start
System.Linq (1)
System\Linq\Range.cs (1)
42
_start
= start;
25 references to _start
System.Linq (25)
System\Linq\Range.cs (5)
46
private int CountForDebugger => _end -
_start
;
48
private protected override Iterator<int> Clone() => new RangeIterator(
_start
, _end -
_start
);
55
Debug.Assert(
_start
!= _end);
56
_current =
_start
;
System\Linq\Range.SpeedOpt.cs (20)
14
return new RangeSelectIterator<TResult>(
_start
, _end, selector);
19
int start =
_start
;
27
(int start, int end) = (
_start
, _end);
34
FillIncrementing(array.AsSpan(arrayIndex, _end -
_start
),
_start
);
36
public override int GetCount(bool onlyIfCheap) => _end -
_start
;
38
public int Count => _end -
_start
;
42
if (count >= _end -
_start
)
47
return new RangeIterator(
_start
+ count, _end -
_start
- count);
52
int curCount = _end -
_start
;
58
return new RangeIterator(
_start
, count);
63
if ((uint)index < (uint)(_end -
_start
))
66
return
_start
+ index;
76
return
_start
;
86
(uint)(item -
_start
) < (uint)(_end -
_start
);
89
Contains(item) ? item -
_start
: -1;
95
if ((uint)index >= (uint)(_end -
_start
))
100
return
_start
+ index;