コード例 #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);
        }