diff --git a/Recyclable.Collections/RecyclableList.cs b/Recyclable.Collections/RecyclableList.cs index 5fecbe4..c26038c 100644 --- a/Recyclable.Collections/RecyclableList.cs +++ b/Recyclable.Collections/RecyclableList.cs @@ -287,7 +287,7 @@ namespace Recyclable.Collections } _longCount = targetCapacity; - _lastBlockIndex = targetBlockIdx - 1; + _lastBlockIndex = targetBlockIdx; _nextItemIndex = targetItemIdx; } @@ -324,7 +324,7 @@ namespace Recyclable.Collections } _longCount = targetCapacity; - _lastBlockIndex = targetBlockIdx - 1; + _lastBlockIndex = targetBlockIdx; _nextItemIndex = targetItemIdx; } @@ -361,7 +361,7 @@ namespace Recyclable.Collections } _longCount = targetCapacity; - _lastBlockIndex = targetBlockIdx - 1; + _lastBlockIndex = targetBlockIdx; _nextItemIndex = targetItemIdx; } @@ -484,7 +484,7 @@ namespace Recyclable.Collections } _longCount = targetItemIdx; - _lastBlockIndex = targetBlockIdx - 1; + _lastBlockIndex = targetBlockIdx; _nextItemIndex = targetItemIdx; }