6 writes to _currentPosition
PresentationFramework (6)
System\Windows\Data\CollectionView.cs (6)
135_currentPosition = currentPosition; 985_currentPosition = newPosition; 1009_currentPosition = -1; 2016_currentPosition = -1; 2019++_currentPosition; 2033--_currentPosition;
15 references to _currentPosition
PresentationFramework (15)
System\Windows\Data\CollectionView.cs (15)
136SetFlag(CollectionViewFlags.IsCurrentBeforeFirst, _currentPosition < 0); 137SetFlag(CollectionViewFlags.IsCurrentAfterLast, _currentPosition < 0); 138SetFlag(CollectionViewFlags.CachedIsEmpty, _currentPosition < 0); 375return _currentPosition; 846int oldCurrentPosition = _currentPosition; 1079int oldCurrentPosition = _currentPosition; 1142if (_currentPosition != oldCurrentPosition) 1794int newPosition = (_currentPosition < lastPosition) ? _currentPosition : lastPosition; 2017else if (index <= _currentPosition) 2021if (_currentPosition < Count) 2023_currentItem = EnumerableWrapper[_currentPosition]; 2032if (index < _currentPosition) 2036else if (index == _currentPosition) 2062if (index == _currentPosition)