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

        unchecked {
            if (__isset.squareChatMid)
            {
                hashcode = (hashcode * 397) + SquareChatMid.GetHashCode();
            }
            if (__isset.squareMessage)
            {
                hashcode = (hashcode * 397) + SquareMessage.GetHashCode();
            }
            if (__isset.senderDisplayName)
            {
                hashcode = (hashcode * 397) + SenderDisplayName.GetHashCode();
            }
            if (__isset.unreadCount)
            {
                hashcode = (hashcode * 397) + UnreadCount.GetHashCode();
            }
            if (__isset.requiredToFetchChatEvents)
            {
                hashcode = (hashcode * 397) + RequiredToFetchChatEvents.GetHashCode();
            }
        }
        return(hashcode);
    }
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.squareChatMid)
            {
                hashcode = (hashcode * 397) + SquareChatMid.GetHashCode();
            }
            if (__isset.squareMessage)
            {
                hashcode = (hashcode * 397) + SquareMessage.GetHashCode();
            }
            if (__isset.reqSeq)
            {
                hashcode = (hashcode * 397) + ReqSeq.GetHashCode();
            }
        }
        return(hashcode);
    }