diff --git a/Recyclable.Collections/MemoryBucket.cs b/Recyclable.Collections/MemoryBucket.cs index e2e49e4..54a228a 100644 --- a/Recyclable.Collections/MemoryBucket.cs +++ b/Recyclable.Collections/MemoryBucket.cs @@ -1,6 +1,6 @@ namespace Recyclable.Collections { - internal class MemoryBucket + internal sealed class MemoryBucket { public MemoryBucket(T[] memory, MemoryBucket nextBucket) { diff --git a/Recyclable.Collections/Pools/OneSizeArrayPool.cs b/Recyclable.Collections/Pools/OneSizeArrayPool.cs index 11859c5..4434d63 100644 --- a/Recyclable.Collections/Pools/OneSizeArrayPool.cs +++ b/Recyclable.Collections/Pools/OneSizeArrayPool.cs @@ -2,7 +2,7 @@ namespace Recyclable.Collections.Pools { - public class OneSizeArrayPool : ArrayPool + public sealed class OneSizeArrayPool { private readonly int _blockSize; private readonly int _minBlockCount;