6 writes to _currentPosition
PresentationFramework (6)
src\Framework\System\Windows\Data\CollectionView.cs (6)
146
_currentPosition
= currentPosition;
999
_currentPosition
= newPosition;
1023
_currentPosition
= -1;
2032
_currentPosition
= -1;
2035
++
_currentPosition
;
2049
--
_currentPosition
;
15 references to _currentPosition
PresentationFramework (15)
src\Framework\System\Windows\Data\CollectionView.cs (15)
147
SetFlag(CollectionViewFlags.IsCurrentBeforeFirst,
_currentPosition
< 0);
148
SetFlag(CollectionViewFlags.IsCurrentAfterLast,
_currentPosition
< 0);
149
SetFlag(CollectionViewFlags.CachedIsEmpty,
_currentPosition
< 0);
387
return
_currentPosition
;
859
int oldCurrentPosition =
_currentPosition
;
1094
int oldCurrentPosition =
_currentPosition
;
1157
if (
_currentPosition
!= oldCurrentPosition)
1809
int newPosition = (
_currentPosition
< lastPosition) ?
_currentPosition
: lastPosition;
2033
else if (index <=
_currentPosition
)
2037
if (
_currentPosition
< Count)
2039
_currentItem = EnumerableWrapper[
_currentPosition
];
2048
if (index <
_currentPosition
)
2052
else if (index ==
_currentPosition
)
2079
if (index ==
_currentPosition
)