Пример #1
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (StateRoot.Length != 0)
        {
            hash ^= StateRoot.GetHashCode();
        }
        if (Address.Length != 0)
        {
            hash ^= Address.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
Пример #2
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (Status != 0)
        {
            hash ^= Status.GetHashCode();
        }
        hash ^= entries_.GetHashCode();
        if (StateRoot.Length != 0)
        {
            hash ^= StateRoot.GetHashCode();
        }
        if (paging_ != null)
        {
            hash ^= Paging.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }