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

            if (Operation.Length != 0)
            {
                hash ^= Operation.GetHashCode();
            }
            if (Number1 != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Number1);
            }
            if (Number2 != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Number2);
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }