예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Msgid != 0)
            {
                hash ^= Msgid.GetHashCode();
            }
            if (Nsid != 0)
            {
                hash ^= Nsid.GetHashCode();
            }
            if (Othermsgid != 0)
            {
                hash ^= Othermsgid.GetHashCode();
            }
            if (Othermsg.Length != 0)
            {
                hash ^= Othermsg.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }