Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id != 0L)
            {
                hash ^= Id.GetHashCode();
            }
            if (FieldKey.Length != 0)
            {
                hash ^= FieldKey.GetHashCode();
            }
            if (UserKey.Length != 0)
            {
                hash ^= UserKey.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (FieldSize != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FieldSize);
            }
            if (IsActive != false)
            {
                hash ^= IsActive.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }