4 writes to _currentEntryIndex
PresentationFramework (4)
src\Framework\System\Windows\Navigation\Journal.cs (4)
84
_currentEntryIndex
= info.GetInt32("_currentEntryIndex");
334
_currentEntryIndex
++;
451
_currentEntryIndex
= index;
521
_currentEntryIndex
--;
29 references to _currentEntryIndex
PresentationFramework (29)
src\Framework\System\Windows\Navigation\Journal.cs (29)
73
info.AddValue("_currentEntryIndex",
_currentEntryIndex
);
85
_uncommittedCurrentIndex =
_currentEntryIndex
;
136
return
_currentEntryIndex
;
147
if (
_currentEntryIndex
>= 0 &&
_currentEntryIndex
< TotalCount)
149
return _journalEntryList[
_currentEntryIndex
];
160
get { return _uncommittedCurrentIndex !=
_currentEntryIndex
; }
272
int index =
_currentEntryIndex
; // start from current but do not change it
301
if (
_currentEntryIndex
> -1 &&
_currentEntryIndex
< TotalCount)
305
JournalEntry oldEntry = _journalEntryList[
_currentEntryIndex
];
307
_journalEntryList[
_currentEntryIndex
] = journalEntry;
328
Debug.Assert(_uncommittedCurrentIndex ==
_currentEntryIndex
,
335
_uncommittedCurrentIndex =
_currentEntryIndex
;
349
if (
_currentEntryIndex
>= TotalCount)
352
if(_uncommittedCurrentIndex >
_currentEntryIndex
)
355
_journalEntryList.RemoveRange(
_currentEntryIndex
, _journalEntryList.Count -
_currentEntryIndex
);
367
_uncommittedCurrentIndex =
_currentEntryIndex
;
385
if (_uncommittedCurrentIndex ==
_currentEntryIndex
)
403
if (fwdEntryIndex ==
_currentEntryIndex
)
425
if (index <=
_currentEntryIndex
)
452
_uncommittedCurrentIndex =
_currentEntryIndex
;
509
Debug.Assert(_uncommittedCurrentIndex ==
_currentEntryIndex
,
519
if (
_currentEntryIndex
> index)
538
if (i !=
_currentEntryIndex
)
601
if (index ==
_currentEntryIndex
)
628
return
_currentEntryIndex
>= 0 &&
_currentEntryIndex
<= TotalCount