2 writes to _currentItem
System.Runtime.Serialization.Formatters (2)
System\Runtime\Serialization\ObjectManager.cs (2)
1474
internal void StartEnumeration() =>
_currentItem
= -1;
1478
while (++
_currentItem
< _totalItems && _values[_currentItem] == -1) ;
5 references to _currentItem
System.Runtime.Serialization.Formatters (5)
System\Runtime\Serialization\ObjectManager.cs (5)
1478
while (++_currentItem < _totalItems && _values[
_currentItem
] == -1) ;
1479
return
_currentItem
!= _totalItems;
1486
Debug.Assert(
_currentItem
!= -1, "[LongList.Current]m_currentItem!=-1");
1487
Debug.Assert(_values[
_currentItem
] != -1, "[LongList.Current]m_values[m_currentItem]!=-1");
1488
return _values[
_currentItem
];