public override int GetHashCode() { unchecked { var hashCode = (Test != null ? Test.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Suit != null ? Suit.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Linux.GetHashCode(); hashCode = (hashCode * 397) ^ Windows10.GetHashCode(); hashCode = (hashCode * 397) ^ Windows7.GetHashCode(); hashCode = (hashCode * 397) ^ Osx.GetHashCode(); return(hashCode); } }