示例#1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Quotient != 0L)
            {
                hash ^= Quotient.GetHashCode();
            }
            if (Remainder != 0L)
            {
                hash ^= Remainder.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Quotient != 0L)
            {
                hash ^= Quotient.GetHashCode();
            }
            if (Remainder != 0L)
            {
                hash ^= Remainder.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }