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)
51
info.AddValue("_currentEntryIndex",
_currentEntryIndex
);
63
_uncommittedCurrentIndex =
_currentEntryIndex
;
114
return
_currentEntryIndex
;
125
if (
_currentEntryIndex
>= 0 &&
_currentEntryIndex
< TotalCount)
127
return _journalEntryList[
_currentEntryIndex
];
138
get { return _uncommittedCurrentIndex !=
_currentEntryIndex
; }
250
int index =
_currentEntryIndex
; // start from current but do not change it
276
if (
_currentEntryIndex
> -1 &&
_currentEntryIndex
< TotalCount)
280
JournalEntry oldEntry = _journalEntryList[
_currentEntryIndex
];
282
_journalEntryList[
_currentEntryIndex
] = journalEntry;
303
Debug.Assert(_uncommittedCurrentIndex ==
_currentEntryIndex
,
310
_uncommittedCurrentIndex =
_currentEntryIndex
;
324
if (
_currentEntryIndex
>= TotalCount)
327
if(_uncommittedCurrentIndex >
_currentEntryIndex
)
330
_journalEntryList.RemoveRange(
_currentEntryIndex
, _journalEntryList.Count -
_currentEntryIndex
);
342
_uncommittedCurrentIndex =
_currentEntryIndex
;
360
if (_uncommittedCurrentIndex ==
_currentEntryIndex
)
378
if (fwdEntryIndex ==
_currentEntryIndex
)
400
if (index <=
_currentEntryIndex
)
427
_uncommittedCurrentIndex =
_currentEntryIndex
;
480
Debug.Assert(_uncommittedCurrentIndex ==
_currentEntryIndex
,
490
if (
_currentEntryIndex
> index)
509
if (i !=
_currentEntryIndex
)
572
if (index ==
_currentEntryIndex
)
599
return
_currentEntryIndex
>= 0 &&
_currentEntryIndex
<= TotalCount