mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 06:44:10 +02:00
Made more Dictionary members protected instead of private
This commit is contained in:
parent
db7b217a0a
commit
b7e47027c3
1 changed files with 9 additions and 9 deletions
|
@ -35,8 +35,8 @@ namespace System.Collections
|
||||||
IEnumerable<(TKey key, TValue value)>,
|
IEnumerable<(TKey key, TValue value)>,
|
||||||
IRefEnumerable<(TKey key, TValue* valueRef)> where TKey : IHashable
|
IRefEnumerable<(TKey key, TValue* valueRef)> where TKey : IHashable
|
||||||
{
|
{
|
||||||
typealias KeyValuePair=(TKey key, TValue value);
|
protected typealias KeyValuePair=(TKey key, TValue value);
|
||||||
typealias KeyRefValuePair=(TKey key, TValue* valueRef);
|
protected typealias KeyRefValuePair=(TKey key, TValue* valueRef);
|
||||||
|
|
||||||
protected struct Entry
|
protected struct Entry
|
||||||
{
|
{
|
||||||
|
@ -46,18 +46,18 @@ namespace System.Collections
|
||||||
public int_cosize mNext; // Index of next entry, -1 if last
|
public int_cosize mNext; // Index of next entry, -1 if last
|
||||||
}
|
}
|
||||||
|
|
||||||
int_cosize* mBuckets;
|
protected int_cosize* mBuckets;
|
||||||
Entry* mEntries;
|
protected Entry* mEntries;
|
||||||
int_cosize mAllocSize;
|
protected int_cosize mAllocSize;
|
||||||
int_cosize mCount;
|
protected int_cosize mCount;
|
||||||
int_cosize mFreeList;
|
protected int_cosize mFreeList;
|
||||||
int_cosize mFreeCount;
|
protected int_cosize mFreeCount;
|
||||||
#if VERSION_DICTIONARY
|
#if VERSION_DICTIONARY
|
||||||
private int32 mVersion;
|
private int32 mVersion;
|
||||||
const String cVersionError = "Dictionary changed during enumeration";
|
const String cVersionError = "Dictionary changed during enumeration";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public this(): this(0) { }
|
public this() : this(0) { }
|
||||||
|
|
||||||
public this(int_cosize capacity)
|
public this(int_cosize capacity)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue