Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(Id0.GetHashCode() * 397 ^ (Id1.GetHashCode()));
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id1 != 0)
            {
                hash ^= Id1.GetHashCode();
            }
            if (Id2 != 0)
            {
                hash ^= Id2.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            if (Passwd.Length != 0)
            {
                hash ^= Passwd.GetHashCode();
            }
            if (Ver.Length != 0)
            {
                hash ^= Ver.GetHashCode();
            }
            if (Json.Length != 0)
            {
                hash ^= Json.GetHashCode();
            }
            return(hash);
        }
Esempio n. 3
0
        public override int GetHashCode()
        {
            int hashCode = 0;

            hashCode = hashCode ^ Id1.GetHashCode() ^ Id2.GetHashCode() ^ Id3.GetHashCode();

            return(hashCode);
        }
            public override int GetHashCode()
            {
                var hashCode = -1596524975;

                hashCode = hashCode * -1521134295 + Id1.GetHashCode();
                hashCode = hashCode * -1521134295 + Id2.GetHashCode();
                return(hashCode);
            }
Esempio n. 5
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = 17;
         hash = hash * 31 + Id1.GetHashCode();
         hash = hash * 31 + Id2.GetHashCode();
         return(hash);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id1 != 0)
            {
                hash ^= Id1.GetHashCode();
            }
            if (Id2 != 0)
            {
                hash ^= Id2.GetHashCode();
            }
            if (Res != 0)
            {
                hash ^= Res.GetHashCode();
            }
            if (Lastgsid != 0)
            {
                hash ^= Lastgsid.GetHashCode();
            }
            if (Lastgsname.Length != 0)
            {
                hash ^= Lastgsname.GetHashCode();
            }
            hash ^= gslist_.GetHashCode();
            if (Reason.Length != 0)
            {
                hash ^= Reason.GetHashCode();
            }
            if (Time != 0)
            {
                hash ^= Time.GetHashCode();
            }
            if (Json.Length != 0)
            {
                hash ^= Json.GetHashCode();
            }
            if (Remainsec != 0)
            {
                hash ^= Remainsec.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            if (Ontime != 0)
            {
                hash ^= Ontime.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id1 != 0)
            {
                hash ^= Id1.GetHashCode();
            }
            if (Id2 != 0)
            {
                hash ^= Id2.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode()
 => Id1.GetHashCode() ^ Id2.GetHashCode() ^ (DataValue is null ? 0 : DataValue.GetHashCode());
Esempio n. 9
0
 public override int GetHashCode()
 {
     return(Id1.GetHashCode() ^ Id2.GetHashCode());
 }