From e5d617eaece53206d7aaf08e9ca01b4100541fa2 Mon Sep 17 00:00:00 2001 From: mlemanczyk Date: Sat, 10 Jun 2023 09:07:48 +0200 Subject: [PATCH] Not read classes made internal --- Recyclable.Collections/RecyclableQueue.cs | 2 +- Recyclable.Collections/RecyclableSortedList.cs | 2 +- Recyclable.Collections/RecyclableStack.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Recyclable.Collections/RecyclableQueue.cs b/Recyclable.Collections/RecyclableQueue.cs index ed00fe4..070ebcd 100644 --- a/Recyclable.Collections/RecyclableQueue.cs +++ b/Recyclable.Collections/RecyclableQueue.cs @@ -4,7 +4,7 @@ using System.Runtime.CompilerServices; namespace Recyclable.Collections { - public class RecyclableQueue : IRecyclableOwner, IList, IDisposable + internal class RecyclableQueue : IRecyclableOwner, IList, IDisposable { private static readonly ArrayPool _arrayPool = ArrayPool.Create(); private static readonly IEqualityComparer _equalityComparer = EqualityComparer.Default; diff --git a/Recyclable.Collections/RecyclableSortedList.cs b/Recyclable.Collections/RecyclableSortedList.cs index b947e9d..d1d9ede 100644 --- a/Recyclable.Collections/RecyclableSortedList.cs +++ b/Recyclable.Collections/RecyclableSortedList.cs @@ -1,6 +1,6 @@ namespace Recyclable.Collections { - public class RecyclableSortedList : RecyclableLongList<(TKey Key, TValue Value)> + internal class RecyclableSortedList : RecyclableLongList<(TKey Key, TValue Value)> where TKey : notnull { private static readonly IComparer<(TKey, TValue)> _comparer = new FrequencyTupleComparer(); diff --git a/Recyclable.Collections/RecyclableStack.cs b/Recyclable.Collections/RecyclableStack.cs index 50d7140..b885708 100644 --- a/Recyclable.Collections/RecyclableStack.cs +++ b/Recyclable.Collections/RecyclableStack.cs @@ -2,7 +2,7 @@ namespace Recyclable.Collections { - public class RecyclableStack : IList, IDisposable + internal class RecyclableStack : IList, IDisposable { private bool _disposedValue; private readonly int _blockSize;