Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UnCount != 0)
            {
                hash ^= UnCount.GetHashCode();
            }
            if (UnErrorCode != 0)
            {
                hash ^= UnErrorCode.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UnRankType != 0)
            {
                hash ^= UnRankType.GetHashCode();
            }
            if (UnMyRank != 0)
            {
                hash ^= UnMyRank.GetHashCode();
            }
            if (UnCount != 0)
            {
                hash ^= UnCount.GetHashCode();
            }
            hash ^= cInfo_.GetHashCode();
            if (UllMyData != 0L)
            {
                hash ^= UllMyData.GetHashCode();
            }
            return(hash);
        }