4 writes to _currentEntryIndex
PresentationFramework (4)
System\Windows\Navigation\Journal.cs (4)
65_currentEntryIndex = info.GetInt32("_currentEntryIndex"); 312_currentEntryIndex++; 429_currentEntryIndex = index; 501_currentEntryIndex--;
29 references to _currentEntryIndex
PresentationFramework (29)
System\Windows\Navigation\Journal.cs (29)
54info.AddValue("_currentEntryIndex", _currentEntryIndex); 66_uncommittedCurrentIndex = _currentEntryIndex; 117return _currentEntryIndex; 128if (_currentEntryIndex >= 0 && _currentEntryIndex < TotalCount) 130return _journalEntryList[_currentEntryIndex]; 141get { return _uncommittedCurrentIndex != _currentEntryIndex; } 253int index = _currentEntryIndex; // start from current but do not change it 279if (_currentEntryIndex > -1 && _currentEntryIndex < TotalCount) 283JournalEntry oldEntry = _journalEntryList[_currentEntryIndex]; 285_journalEntryList[_currentEntryIndex] = journalEntry; 306Debug.Assert(_uncommittedCurrentIndex == _currentEntryIndex, 313_uncommittedCurrentIndex = _currentEntryIndex; 327if (_currentEntryIndex >= TotalCount) 330if(_uncommittedCurrentIndex > _currentEntryIndex) 333_journalEntryList.RemoveRange(_currentEntryIndex, _journalEntryList.Count - _currentEntryIndex); 345_uncommittedCurrentIndex = _currentEntryIndex; 363if (_uncommittedCurrentIndex == _currentEntryIndex) 381if (fwdEntryIndex == _currentEntryIndex) 403if (index <= _currentEntryIndex) 430_uncommittedCurrentIndex = _currentEntryIndex; 489Debug.Assert(_uncommittedCurrentIndex == _currentEntryIndex, 499if (_currentEntryIndex > index) 518if (i != _currentEntryIndex) 581if (index == _currentEntryIndex) 608return _currentEntryIndex >= 0 && _currentEntryIndex <= TotalCount