2 writes to _offset
mscorlib (2)
system\arraysegment.cs (2)
44
_offset
= 0;
61
_offset
= offset;
25 references to _offset
mscorlib (25)
system\arraysegment.cs (25)
69
Contract.Assert( (null == _array && 0 ==
_offset
&& 0 == _count)
70
|| (null != _array &&
_offset
>= 0 && _count >= 0 &&
_offset
+ _count <= _array.Length),
88
Contract.Assert( (null == _array && 0 ==
_offset
&& 0 == _count)
89
|| (null != _array &&
_offset
>= 0 && _count >= 0 &&
_offset
+ _count <= _array.Length),
92
return
_offset
;
107
Contract.Assert( (null == _array && 0 ==
_offset
&& 0 == _count)
108
|| (null != _array &&
_offset
>= 0 && _count >= 0 &&
_offset
+ _count <= _array.Length),
119
: _array.GetHashCode() ^
_offset
^ _count;
132
return obj._array == _array && obj.
_offset
==
_offset
&& obj._count == _count;
156
return _array[
_offset
+ index];
167
_array[
_offset
+ index] = value;
177
int index = System.Array.IndexOf<T>(_array, item,
_offset
, _count);
180
(index >=
_offset
&& index <
_offset
+ _count));
182
return index >= 0 ? index -
_offset
: -1;
207
return _array[
_offset
+ index];
239
int index = System.Array.IndexOf<T>(_array, item,
_offset
, _count);
242
(index >=
_offset
&& index <
_offset
+ _count));
253
System.Array.Copy(_array,
_offset
, array, arrayIndex, _count);
300
_start = arraySegment.
_offset
;