public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (Domain != null) { hashCode = hashCode * 59 + Domain.GetHashCode(); } if (Sector != null) { hashCode = hashCode * 59 + Sector.GetHashCode(); } if (Hole != null) { hashCode = hashCode * 59 + Hole.GetHashCode(); } if (BgColor != null) { hashCode = hashCode * 59 + BgColor.GetHashCode(); } if (RadialAxis != null) { hashCode = hashCode * 59 + RadialAxis.GetHashCode(); } if (AngularAxis != null) { hashCode = hashCode * 59 + AngularAxis.GetHashCode(); } if (GridShape != null) { hashCode = hashCode * 59 + GridShape.GetHashCode(); } if (UiRevision != null) { hashCode = hashCode * 59 + UiRevision.GetHashCode(); } return(hashCode); } }