const int CHAIN_MARKER = ~Int32.MaxValue;
- private int inUse;
- private int modificationCount;
- private float loadFactor;
private Slot [] table;
// Hashcodes of the corresponding entries in the slot table. Kept separate to
// help the GC
private int [] hashes;
-
- private int threshold;
-
private HashKeys hashKeys;
private HashValues hashValues;
-
private IHashCodeProvider hcpRef;
private IComparer comparerRef;
private SerializationInfo serializationInfo;
-
private IEqualityComparer equalityComparer;
+ private int inUse;
+ private int modificationCount;
+ private float loadFactor;
+ private int threshold;
+
private static readonly int [] primeTbl = {
11,
19,
private sealed class Enumerator : IDictionaryEnumerator, IEnumerator {
private Hashtable host;
+ private Object currentKey;
+ private Object currentValue;
+
private int stamp;
private int pos;
private int size;
private EnumeratorMode mode;
- private Object currentKey;
- private Object currentValue;
-
private readonly static string xstr = "Hashtable.Enumerator: snapshot out of sync.";
public Enumerator (Hashtable host, EnumeratorMode mode) {