public override int GetHashCode() { unchecked { // ReSharper disable NonReadonlyMemberInGetHashCode int hashCode = TitleId.GetHashCode(); hashCode = (hashCode * 397) ^ UserId.GetHashCode(); hashCode = (hashCode * 397) ^ SaveId.GetHashCode(); hashCode = (hashCode * 397) ^ (int)Type; hashCode = (hashCode * 397) ^ Rank.GetHashCode(); hashCode = (hashCode * 397) ^ Index.GetHashCode(); return(hashCode); // ReSharper restore NonReadonlyMemberInGetHashCode } }
public override int GetHashCode() { return(SaveId.GetHashCode()); }