4 writes to _currentEntryIndex
PresentationFramework (4)
System\Windows\Navigation\Journal.cs (4)
62_currentEntryIndex = info.GetInt32("_currentEntryIndex"); 309_currentEntryIndex++; 426_currentEntryIndex = index; 492_currentEntryIndex--;
29 references to _currentEntryIndex
PresentationFramework (29)
System\Windows\Navigation\Journal.cs (29)
51info.AddValue("_currentEntryIndex", _currentEntryIndex); 63_uncommittedCurrentIndex = _currentEntryIndex; 114return _currentEntryIndex; 125if (_currentEntryIndex >= 0 && _currentEntryIndex < TotalCount) 127return _journalEntryList[_currentEntryIndex]; 138get { return _uncommittedCurrentIndex != _currentEntryIndex; } 250int index = _currentEntryIndex; // start from current but do not change it 276if (_currentEntryIndex > -1 && _currentEntryIndex < TotalCount) 280JournalEntry oldEntry = _journalEntryList[_currentEntryIndex]; 282_journalEntryList[_currentEntryIndex] = journalEntry; 303Debug.Assert(_uncommittedCurrentIndex == _currentEntryIndex, 310_uncommittedCurrentIndex = _currentEntryIndex; 324if (_currentEntryIndex >= TotalCount) 327if(_uncommittedCurrentIndex > _currentEntryIndex) 330_journalEntryList.RemoveRange(_currentEntryIndex, _journalEntryList.Count - _currentEntryIndex); 342_uncommittedCurrentIndex = _currentEntryIndex; 360if (_uncommittedCurrentIndex == _currentEntryIndex) 378if (fwdEntryIndex == _currentEntryIndex) 400if (index <= _currentEntryIndex) 427_uncommittedCurrentIndex = _currentEntryIndex; 480Debug.Assert(_uncommittedCurrentIndex == _currentEntryIndex, 490if (_currentEntryIndex > index) 509if (i != _currentEntryIndex) 572if (index == _currentEntryIndex) 599return _currentEntryIndex >= 0 && _currentEntryIndex <= TotalCount