Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class ArrayFiller<TElement, TReturnConstant> : ArrayFiller<TElement>
/// </para>
/// <para></para>
/// </summary>
protected readonly TReturnConstant _returnConstant;
public readonly TReturnConstant _returnConstant;

/// <summary>
/// <para>Initializes a new instance of the <see cref="ArrayFiller"/> class using the specified array, the offset from which filling will start and the constant returned when elements are being filled.</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class ArrayFiller<TElement>
/// </para>
/// <para></para>
/// </summary>
protected readonly TElement[] _array;
public readonly TElement[] _array;
/// <summary>
/// <para>
/// The position.
Expand Down
4 changes: 2 additions & 2 deletions csharp/Platform.Collections/Arrays/ArrayPool[T].cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public class ArrayPool<T>
/// <para></para>
/// </summary>
internal static ArrayPool<T> ThreadInstance => _threadInstance ?? (_threadInstance = new ArrayPool<T>());
private readonly int _maxArraysPerSize;
private readonly Dictionary<long, Stack<T[]>> _pool = new Dictionary<long, Stack<T[]>>(ArrayPool.DefaultSizesAmount);
public readonly int _maxArraysPerSize;
public readonly Dictionary<long, Stack<T[]>> _pool = new Dictionary<long, Stack<T[]>>(ArrayPool.DefaultSizesAmount);

/// <summary>
/// <para>Initializes a new instance of the ArrayPool class using the specified maximum number of arrays per size.</para>
Expand Down
2 changes: 1 addition & 1 deletion csharp/Platform.Collections/BitString.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace Platform.Collections
/// </remarks>
public class BitString : IEquatable<BitString>
{
private static readonly byte[][] _bitsSetIn16Bits;
public static readonly byte[][] _bitsSetIn16Bits;
private long[] _array;
private long _length;
private long _minPositiveWord;
Expand Down
4 changes: 2 additions & 2 deletions csharp/Platform.Collections/Lists/ListFiller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ public class ListFiller<TElement, TReturnConstant>
/// </para>
/// <para></para>
/// </summary>
protected readonly List<TElement> _list;
public readonly List<TElement> _list;
/// <summary>
/// <para>
/// The return constant.
/// </para>
/// <para></para>
/// </summary>
protected readonly TReturnConstant _returnConstant;
public readonly TReturnConstant _returnConstant;

/// <summary>
/// <para>Initializes a new instance of the ListFiller class.</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Platform.Collections.Segments.Walkers
public abstract class AllSegmentsWalkerBase<T, TSegment> : AllSegmentsWalkerBase
where TSegment : Segment<T>
{
private readonly int _minimumStringSegmentLength;
public readonly int _minimumStringSegmentLength;

/// <summary>
/// <para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public abstract class DictionaryBasedDuplicateSegmentsWalkerBase<T, TSegment> :
/// <para></para>
/// </summary>
public static readonly bool DefaultResetDictionaryOnEachWalk;
private readonly bool _resetDictionaryOnEachWalk;
public readonly bool _resetDictionaryOnEachWalk;
/// <summary>
/// <para>
/// The dictionary.
Expand Down
4 changes: 2 additions & 2 deletions csharp/Platform.Collections/Sets/SetFiller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ public class SetFiller<TElement, TReturnConstant>
/// </para>
/// <para></para>
/// </summary>
protected readonly ISet<TElement> _set;
public readonly ISet<TElement> _set;
/// <summary>
/// <para>
/// The return constant.
/// </para>
/// <para></para>
/// </summary>
protected readonly TReturnConstant _returnConstant;
public readonly TReturnConstant _returnConstant;

/// <summary>
/// <para>
Expand Down
Loading