/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Phoneid != null) { hashCode = hashCode * 59 + Phoneid.GetHashCode(); } if (FeedbackType != null) { hashCode = hashCode * 59 + FeedbackType.GetHashCode(); } if (FeedbackValue != null) { hashCode = hashCode * 59 + FeedbackValue.GetHashCode(); } if (FeedbackMessage != null) { hashCode = hashCode * 59 + FeedbackMessage.GetHashCode(); } if (FeedbackLat != null) { hashCode = hashCode * 59 + FeedbackLat.GetHashCode(); } if (FeedbackLon != null) { hashCode = hashCode * 59 + FeedbackLon.GetHashCode(); } return(hashCode); } }