6 writes to _currentPosition
PresentationFramework (6)
System\Windows\Data\CollectionView.cs (6)
139_currentPosition = currentPosition; 989_currentPosition = newPosition; 1013_currentPosition = -1; 2020_currentPosition = -1; 2023++_currentPosition; 2037--_currentPosition;
15 references to _currentPosition
PresentationFramework (15)
System\Windows\Data\CollectionView.cs (15)
140SetFlag(CollectionViewFlags.IsCurrentBeforeFirst, _currentPosition < 0); 141SetFlag(CollectionViewFlags.IsCurrentAfterLast, _currentPosition < 0); 142SetFlag(CollectionViewFlags.CachedIsEmpty, _currentPosition < 0); 379return _currentPosition; 850int oldCurrentPosition = _currentPosition; 1083int oldCurrentPosition = _currentPosition; 1146if (_currentPosition != oldCurrentPosition) 1798int newPosition = (_currentPosition < lastPosition) ? _currentPosition : lastPosition; 2021else if (index <= _currentPosition) 2025if (_currentPosition < Count) 2027_currentItem = EnumerableWrapper[_currentPosition]; 2036if (index < _currentPosition) 2040else if (index == _currentPosition) 2066if (index == _currentPosition)