Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Name.GetHashCode() * 397) ^ IsTrue.GetHashCode());
     }
 }
Esempio n. 2
0
        public override int GetHashCode()
        {
            var hashCode = -1707516999;

            hashCode = (hashCode * -1521134295) + EqualityComparer <string> .Default.GetHashCode(Message);

            hashCode = (hashCode * -1521134295) + IsTrue.GetHashCode();
            return(hashCode);
        }