2 writes to _count
mscorlib (2)
system\arraysegment.cs (2)
45
_count
= array.Length;
62
_count
= count;
22 references to _count
mscorlib (22)
system\arraysegment.cs (22)
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),
107
Contract.Assert( (null == _array && 0 == _offset && 0 ==
_count
)
108
|| (null != _array && _offset >= 0 &&
_count
>= 0 && _offset +
_count
<= _array.Length),
111
return
_count
;
119
: _array.GetHashCode() ^ _offset ^
_count
;
132
return obj._array == _array && obj._offset == _offset && obj.
_count
==
_count
;
152
if (index < 0 || index >=
_count
)
163
if (index < 0 || index >=
_count
)
177
int index = System.Array.IndexOf<T>(_array, item, _offset,
_count
);
180
(index >= _offset && index < _offset +
_count
));
203
if (index < 0 || index >=
_count
)
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
);
301
_end = _start + arraySegment.
_count
;