public override int GetHashCode() { int hashCode = 1273248884; hashCode = hashCode * -1521134295 + Primary.GetHashCode(); hashCode = hashCode * -1521134295 + Secondary.GetHashCode(); hashCode = hashCode * -1521134295 + RhPrimary.GetHashCode(); hashCode = hashCode * -1521134295 + RhSecondary.GetHashCode(); return(hashCode); }
///<inheritdoc/> public override int GetHashCode() { int hash = 17; // Overflow is fine, just wrap unchecked { hash = (hash * 29) + Primary.GetHashCode(); hash = (hash * 29) + Secondary.GetHashCode(); hash = (hash * 29) + AHD.GetHashCode(); } return(hash); }