public override int GetHashCode() { var hashCode = 175731186; hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Id); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(UserId); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Image); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Content); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Quote); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Market); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Recommend); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Price); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Access); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Forecast); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(CreatedAt); hashCode = hashCode * -1521134295 + IsQuoteFavorite.GetHashCode(); hashCode = hashCode * -1521134295 + CommentCount.GetHashCode(); hashCode = hashCode * -1521134295 + LikeCount.GetHashCode(); hashCode = hashCode * -1521134295 + IsLiked.GetHashCode(); return(hashCode); }
public override int GetHashCode() { int hash = 1; if (WatchingCount.Length != 0) { hash ^= WatchingCount.GetHashCode(); } if (LikeCount.Length != 0) { hash ^= LikeCount.GetHashCode(); } if (LikeDelta != 0) { hash ^= LikeDelta.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }