public override int GetHashCode() { var hashCode = -1245731201; hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(To); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(From); hashCode = hashCode * -1521134295 + StartTime.GetHashCode(); hashCode = hashCode * -1521134295 + EndTime.GetHashCode(); hashCode = hashCode * -1521134295 + TimeSpent.GetHashCode(); hashCode = hashCode * -1521134295 + Calories.GetHashCode(); hashCode = hashCode * -1521134295 + Cost.GetHashCode(); return(hashCode); }
public override int GetHashCode() { unchecked { int result = (comments != null ? comments.GetHashCode() : 0); result = (result * 397) ^ (versions != null ? versions.GetHashCode() : 0); result = (result * 397) ^ (fixVersions != null ? fixVersions.GetHashCode() : 0); result = (result * 397) ^ (SubtaskKeys.GetHashCode()); result = (result * 397) ^ (IssueLinks.GetHashCode()); result = (result * 397) ^ (components != null ? components.GetHashCode() : 0); result = (result * 397) ^ (attachments != null ? attachments.GetHashCode() : 0); result = (result * 397) ^ (Server != null ? Server.GUID.GetHashCode() : 0); result = (result * 397) ^ (IssueType != null ? IssueType.GetHashCode() : 0); result = (result * 397) ^ IssueTypeId; result = (result * 397) ^ (IssueTypeIconUrl != null ? IssueTypeIconUrl.GetHashCode() : 0); result = (result * 397) ^ (Description != null ? Description.GetHashCode() : 0); result = (result * 397) ^ Id; result = (result * 397) ^ (Key != null ? Key.GetHashCode() : 0); result = (result * 397) ^ (Summary != null ? Summary.GetHashCode() : 0); result = (result * 397) ^ (Status != null ? Status.GetHashCode() : 0); result = (result * 397) ^ (StatusIconUrl != null ? StatusIconUrl.GetHashCode() : 0); result = (result * 397) ^ (Priority != null ? Priority.GetHashCode() : 0); result = (result * 397) ^ (Resolution != null ? Resolution.GetHashCode() : 0); result = (result * 397) ^ (Reporter != null ? Reporter.GetHashCode() : 0); result = (result * 397) ^ (Assignee != null ? Assignee.GetHashCode() : 0); result = (result * 397) ^ CreationDate.GetHashCode(); result = (result * 397) ^ UpdateDate.GetHashCode(); result = (result * 397) ^ (ProjectKey != null ? ProjectKey.GetHashCode() : 0); result = (result * 397) ^ (Environment != null ? Environment.GetHashCode() : 0); result = (result * 397) ^ (OriginalEstimate != null ? OriginalEstimate.GetHashCode() : 0); result = (result * 397) ^ (RemainingEstimate != null ? RemainingEstimate.GetHashCode() : 0); result = (result * 397) ^ (TimeSpent != null ? TimeSpent.GetHashCode() : 0); result = (result * 397) ^ (ParentKey != null ? ParentKey.GetHashCode() : 0); result = (result * 397) ^ (PriorityIconUrl != null ? PriorityIconUrl.GetHashCode() : 0); result = (result * 397) ^ StatusId; result = (result * 397) ^ PriorityId; return(result); } }