diff --git a/Recyclable.Collections/RecyclableList.cs b/Recyclable.Collections/RecyclableList.cs index 434615f..f1b650b 100644 --- a/Recyclable.Collections/RecyclableList.cs +++ b/Recyclable.Collections/RecyclableList.cs @@ -426,8 +426,8 @@ namespace Recyclable.Collections } } - _longCount = targetItemIdx; - _lastBlockIndex = targetBlockIdx - 1; + _longCount = targetBlockIdx * blockSize + targetItemIdx; + _lastBlockIndex = targetBlockIdx; _lastItemIndex = targetItemIdx; return; }