/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; // Suitable nullity checks etc, of course :) if (Rtr != null) { hashCode = hashCode * 59 + Rtr.GetHashCode(); } if (Rtd != null) { hashCode = hashCode * 59 + Rtd.GetHashCode(); } if (Itr != null) { hashCode = hashCode * 59 + Itr.GetHashCode(); } if (Itd != null) { hashCode = hashCode * 59 + Itd.GetHashCode(); } if (Catr != null) { hashCode = hashCode * 59 + Catr.GetHashCode(); } if (Tatr != null) { hashCode = hashCode * 59 + Tatr.GetHashCode(); } return(hashCode); } }