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)
54
info.AddValue("_currentEntryIndex",
_currentEntryIndex
);
66
_uncommittedCurrentIndex =
_currentEntryIndex
;
117
return
_currentEntryIndex
;
128
if (
_currentEntryIndex
>= 0 &&
_currentEntryIndex
< TotalCount)
130
return _journalEntryList[
_currentEntryIndex
];
141
get { return _uncommittedCurrentIndex !=
_currentEntryIndex
; }
253
int index =
_currentEntryIndex
; // start from current but do not change it
279
if (
_currentEntryIndex
> -1 &&
_currentEntryIndex
< TotalCount)
283
JournalEntry oldEntry = _journalEntryList[
_currentEntryIndex
];
285
_journalEntryList[
_currentEntryIndex
] = journalEntry;
306
Debug.Assert(_uncommittedCurrentIndex ==
_currentEntryIndex
,
313
_uncommittedCurrentIndex =
_currentEntryIndex
;
327
if (
_currentEntryIndex
>= TotalCount)
330
if(_uncommittedCurrentIndex >
_currentEntryIndex
)
333
_journalEntryList.RemoveRange(
_currentEntryIndex
, _journalEntryList.Count -
_currentEntryIndex
);
345
_uncommittedCurrentIndex =
_currentEntryIndex
;
363
if (_uncommittedCurrentIndex ==
_currentEntryIndex
)
381
if (fwdEntryIndex ==
_currentEntryIndex
)
403
if (index <=
_currentEntryIndex
)
430
_uncommittedCurrentIndex =
_currentEntryIndex
;
489
Debug.Assert(_uncommittedCurrentIndex ==
_currentEntryIndex
,
499
if (
_currentEntryIndex
> index)
518
if (i !=
_currentEntryIndex
)
581
if (index ==
_currentEntryIndex
)
608
return
_currentEntryIndex
>= 0 &&
_currentEntryIndex
<= TotalCount