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

            if (ExpectedDataCount != 0)
            {
                hash ^= ExpectedDataCount.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Country.Length != 0)
            {
                hash ^= Country.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ExpectedDataCount != 0)
            {
                hash ^= ExpectedDataCount.GetHashCode();
            }
            if (PlayerName.Length != 0)
            {
                hash ^= PlayerName.GetHashCode();
            }
            if (TeamName.Length != 0)
            {
                hash ^= TeamName.GetHashCode();
            }
            if (Position.Length != 0)
            {
                hash ^= Position.GetHashCode();
            }
            return(hash);
        }