diff --git a/csharp/Platform.Collections/Arrays/ArrayFiller[TElement, TReturnConstant].cs b/csharp/Platform.Collections/Arrays/ArrayFiller[TElement, TReturnConstant].cs index 506b7c2e..9338d6bc 100644 --- a/csharp/Platform.Collections/Arrays/ArrayFiller[TElement, TReturnConstant].cs +++ b/csharp/Platform.Collections/Arrays/ArrayFiller[TElement, TReturnConstant].cs @@ -17,7 +17,7 @@ public class ArrayFiller : ArrayFiller /// /// /// - protected readonly TReturnConstant _returnConstant; + public readonly TReturnConstant _returnConstant; /// /// Initializes a new instance of the class using the specified array, the offset from which filling will start and the constant returned when elements are being filled. diff --git a/csharp/Platform.Collections/Arrays/ArrayFiller[TElement].cs b/csharp/Platform.Collections/Arrays/ArrayFiller[TElement].cs index 3706e438..56f4921f 100644 --- a/csharp/Platform.Collections/Arrays/ArrayFiller[TElement].cs +++ b/csharp/Platform.Collections/Arrays/ArrayFiller[TElement].cs @@ -16,7 +16,7 @@ public class ArrayFiller /// /// /// - protected readonly TElement[] _array; + public readonly TElement[] _array; /// /// /// The position. diff --git a/csharp/Platform.Collections/Arrays/ArrayPool[T].cs b/csharp/Platform.Collections/Arrays/ArrayPool[T].cs index c1143e4b..933295f5 100644 --- a/csharp/Platform.Collections/Arrays/ArrayPool[T].cs +++ b/csharp/Platform.Collections/Arrays/ArrayPool[T].cs @@ -32,8 +32,8 @@ public class ArrayPool /// /// internal static ArrayPool ThreadInstance => _threadInstance ?? (_threadInstance = new ArrayPool()); - private readonly int _maxArraysPerSize; - private readonly Dictionary> _pool = new Dictionary>(ArrayPool.DefaultSizesAmount); + public readonly int _maxArraysPerSize; + public readonly Dictionary> _pool = new Dictionary>(ArrayPool.DefaultSizesAmount); /// /// Initializes a new instance of the ArrayPool class using the specified maximum number of arrays per size. diff --git a/csharp/Platform.Collections/BitString.cs b/csharp/Platform.Collections/BitString.cs index 4b0b36ac..2adcda0d 100644 --- a/csharp/Platform.Collections/BitString.cs +++ b/csharp/Platform.Collections/BitString.cs @@ -21,7 +21,7 @@ namespace Platform.Collections /// public class BitString : IEquatable { - private static readonly byte[][] _bitsSetIn16Bits; + public static readonly byte[][] _bitsSetIn16Bits; private long[] _array; private long _length; private long _minPositiveWord; diff --git a/csharp/Platform.Collections/Lists/ListFiller.cs b/csharp/Platform.Collections/Lists/ListFiller.cs index 807f8cad..369b5312 100644 --- a/csharp/Platform.Collections/Lists/ListFiller.cs +++ b/csharp/Platform.Collections/Lists/ListFiller.cs @@ -17,14 +17,14 @@ public class ListFiller /// /// /// - protected readonly List _list; + public readonly List _list; /// /// /// The return constant. /// /// /// - protected readonly TReturnConstant _returnConstant; + public readonly TReturnConstant _returnConstant; /// /// Initializes a new instance of the ListFiller class. diff --git a/csharp/Platform.Collections/Segments/Walkers/AllSegmentsWalkerBase[T, TSegment].cs b/csharp/Platform.Collections/Segments/Walkers/AllSegmentsWalkerBase[T, TSegment].cs index beb2f14c..8cf58f94 100644 --- a/csharp/Platform.Collections/Segments/Walkers/AllSegmentsWalkerBase[T, TSegment].cs +++ b/csharp/Platform.Collections/Segments/Walkers/AllSegmentsWalkerBase[T, TSegment].cs @@ -15,7 +15,7 @@ namespace Platform.Collections.Segments.Walkers public abstract class AllSegmentsWalkerBase : AllSegmentsWalkerBase where TSegment : Segment { - private readonly int _minimumStringSegmentLength; + public readonly int _minimumStringSegmentLength; /// /// diff --git a/csharp/Platform.Collections/Segments/Walkers/DictionaryBasedDuplicateSegmentsWalkerBase[T, Segment].cs b/csharp/Platform.Collections/Segments/Walkers/DictionaryBasedDuplicateSegmentsWalkerBase[T, Segment].cs index 8e53344d..8d2a57e7 100644 --- a/csharp/Platform.Collections/Segments/Walkers/DictionaryBasedDuplicateSegmentsWalkerBase[T, Segment].cs +++ b/csharp/Platform.Collections/Segments/Walkers/DictionaryBasedDuplicateSegmentsWalkerBase[T, Segment].cs @@ -23,7 +23,7 @@ public abstract class DictionaryBasedDuplicateSegmentsWalkerBase : /// /// public static readonly bool DefaultResetDictionaryOnEachWalk; - private readonly bool _resetDictionaryOnEachWalk; + public readonly bool _resetDictionaryOnEachWalk; /// /// /// The dictionary. diff --git a/csharp/Platform.Collections/Sets/SetFiller.cs b/csharp/Platform.Collections/Sets/SetFiller.cs index cce2a96b..1dca02d6 100644 --- a/csharp/Platform.Collections/Sets/SetFiller.cs +++ b/csharp/Platform.Collections/Sets/SetFiller.cs @@ -19,14 +19,14 @@ public class SetFiller /// /// /// - protected readonly ISet _set; + public readonly ISet _set; /// /// /// The return constant. /// /// /// - protected readonly TReturnConstant _returnConstant; + public readonly TReturnConstant _returnConstant; /// ///