1 write to _end
System.Linq (1)
System\Linq\Range.cs (1)
43
_end
= start + count;
17 references to _end
System.Linq (17)
System\Linq\Range.cs (4)
46
private int CountForDebugger =>
_end
- _start;
48
private protected override Iterator<int> Clone() => new RangeIterator(_start,
_end
- _start);
55
Debug.Assert(_start !=
_end
);
60
if (++_current ==
_end
)
System\Linq\Range.SpeedOpt.cs (13)
14
return new RangeSelectIterator<TResult>(_start,
_end
, selector);
20
int[] array = new int[
_end
- 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;
63
if ((uint)index < (uint)(
_end
- _start))
82
return
_end
- 1;
86
(uint)(item - _start) < (uint)(
_end
- _start);
95
if ((uint)index >= (uint)(
_end
- _start))