4 writes to _currentEntryIndex
PresentationFramework (4)
System\Windows\Navigation\Journal.cs (4)
73
_currentEntryIndex
= info.GetInt32("_currentEntryIndex");
320
_currentEntryIndex
++;
437
_currentEntryIndex
= index;
509
_currentEntryIndex
--;
29 references to _currentEntryIndex
PresentationFramework (29)
System\Windows\Navigation\Journal.cs (29)
62
info.AddValue("_currentEntryIndex",
_currentEntryIndex
);
74
_uncommittedCurrentIndex =
_currentEntryIndex
;
125
return
_currentEntryIndex
;
136
if (
_currentEntryIndex
>= 0 &&
_currentEntryIndex
< TotalCount)
138
return _journalEntryList[
_currentEntryIndex
];
149
get { return _uncommittedCurrentIndex !=
_currentEntryIndex
; }
261
int index =
_currentEntryIndex
; // start from current but do not change it
287
if (
_currentEntryIndex
> -1 &&
_currentEntryIndex
< TotalCount)
291
JournalEntry oldEntry = _journalEntryList[
_currentEntryIndex
];
293
_journalEntryList[
_currentEntryIndex
] = journalEntry;
314
Debug.Assert(_uncommittedCurrentIndex ==
_currentEntryIndex
,
321
_uncommittedCurrentIndex =
_currentEntryIndex
;
335
if (
_currentEntryIndex
>= TotalCount)
338
if(_uncommittedCurrentIndex >
_currentEntryIndex
)
341
_journalEntryList.RemoveRange(
_currentEntryIndex
, _journalEntryList.Count -
_currentEntryIndex
);
353
_uncommittedCurrentIndex =
_currentEntryIndex
;
371
if (_uncommittedCurrentIndex ==
_currentEntryIndex
)
389
if (fwdEntryIndex ==
_currentEntryIndex
)
411
if (index <=
_currentEntryIndex
)
438
_uncommittedCurrentIndex =
_currentEntryIndex
;
497
Debug.Assert(_uncommittedCurrentIndex ==
_currentEntryIndex
,
507
if (
_currentEntryIndex
> index)
526
if (i !=
_currentEntryIndex
)
589
if (index ==
_currentEntryIndex
)
616
return
_currentEntryIndex
>= 0 &&
_currentEntryIndex
<= TotalCount