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

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (FansType != 0)
            {
                hash ^= FansType.GetHashCode();
            }
            if (Num != 0)
            {
                hash ^= Num.GetHashCode();
            }
            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (FansType != 0)
            {
                hash ^= FansType.GetHashCode();
            }
            if (Power != 0)
            {
                hash ^= Power.GetHashCode();
            }
            if (FansName.Length != 0)
            {
                hash ^= FansName.GetHashCode();
            }
            if (FansDesc.Length != 0)
            {
                hash ^= FansDesc.GetHashCode();
            }
            return(hash);
        }