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

            if (HasVoiceId)
            {
                hash ^= VoiceId.GetHashCode();
            }
            if (HasToken)
            {
                hash ^= Token.GetHashCode();
            }
            if (HasUrl)
            {
                hash ^= Url.GetHashCode();
            }
            if (HasJoinType)
            {
                hash ^= JoinType.GetHashCode();
            }
            if (HasMuteReason)
            {
                hash ^= MuteReason.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }