Пример #1
0
    public bool ContainsKey(TKey key)
    {
        if (key == null)
        {
            HashHelpers.ThrowKeyArgumentNullException();
        }
        var entries        = _entries;
        var collisionCount = 0;

        for (var i = _buckets[key !.GetHashCode() & (_buckets.Length - 1)] - 1;