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

            if (Greeting.Length != 0)
            {
                hash ^= Greeting.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LoginResult != 0)
            {
                hash ^= LoginResult.GetHashCode();
            }
            if (Greeting.Length != 0)
            {
                hash ^= Greeting.GetHashCode();
            }
            if (Test != 0)
            {
                hash ^= Test.GetHashCode();
            }
            return(hash);
        }