2 writes to _offset
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (2)
50
_offset
= 0;
63
_offset
= offset;
22 references to _offset
System.Private.CoreLib (22)
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (22)
69
public int Offset =>
_offset
;
82
return _array![
_offset
+ index];
91
_array![
_offset
+ index] = value;
102
_array is null ? 0 : HashCode.Combine(
_offset
, _count, _array.GetHashCode());
109
System.Array.Copy(_array!,
_offset
, destination, destinationIndex, _count);
122
System.Array.Copy(_array!,
_offset
, destination._array!, destination.
_offset
, _count);
129
obj._array == _array && obj.
_offset
==
_offset
&& obj._count == _count;
140
return new ArraySegment<T>(_array!,
_offset
+ index, _count - index);
152
return new ArraySegment<T>(_array!,
_offset
+ index, count);
165
System.Array.Copy(_array!,
_offset
, array, 0, _count);
184
return _array![
_offset
+ index];
193
_array![
_offset
+ index] = value;
201
int index = System.Array.IndexOf(_array!, item,
_offset
, _count);
204
(index >=
_offset
&& index <
_offset
+ _count));
206
return index >= 0 ? index -
_offset
: -1;
223
return _array![
_offset
+ index];
242
int index = System.Array.IndexOf(_array!, item,
_offset
, _count);
245
(index >=
_offset
&& index <
_offset
+ _count));