43 for (
int i = 0; i <
_buckets.Length; i++)
91 value =
default(TValue);
static int CompareExchange(ref int location1, int value, int comparand)
static int Increment(ref int location)
static void MemoryBarrier()
readonly Entry[] _entries
readonly ExtractKeyDelegate _extractKey
static int ComputeHashCode(string key, int index, int count)
bool TryGetValue(string key, int index, int count, [MaybeNullWhen(false)] out TValue value)
bool TryAdd(TValue value, out TValue newValue)
XHashtableState(ExtractKeyDelegate extractKey, int capacity)
bool FindEntry(int hashCode, string key, int index, int count, ref int entryIndex)
bool TryGetValue(string key, int index, int count, [MaybeNullWhen(false)] out TValue value)
delegate string ExtractKeyDelegate(TValue value)
XHashtable(ExtractKeyDelegate extractKey, int capacity)