public override int GetHashCode() { var hashCode = -1765437687; hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name); hashCode = hashCode * -1521134295 + LeadTime.GetHashCode(); hashCode = hashCode * -1521134295 + DateOfCompletion.GetHashCode(); hashCode = hashCode * -1521134295 + TaskState.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(AdditionalInfomatoins); return(hashCode); }