예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((TagId.GetHashCode() * 397) ^ PostId.GetHashCode());
     }
 }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PostId != 0)
            {
                hash ^= PostId.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (Domain.Length != 0)
            {
                hash ^= Domain.GetHashCode();
            }
            if (date_ != null)
            {
                hash ^= Date.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #3
0
		/// <inheritdoc/>
		public override int GetHashCode()
		{
			var hashCode = 1122491329;
			hashCode = hashCode * -1521134295 + Type.GetHashCode();
			hashCode = hashCode * -1521134295 + Timestamp.GetHashCode();
			hashCode = hashCode * -1521134295 + BlogName.GetHashCode();
			hashCode = hashCode * -1521134295 + BlogUuid.GetHashCode();
			hashCode = hashCode * -1521134295 + BlogUrl.GetHashCode();
			hashCode = hashCode * -1521134295 + Followed.GetHashCode();
			hashCode = hashCode * -1521134295 + AvatarShape.GetHashCode();
			hashCode = hashCode * -1521134295 + ReplyText.GetHashCode();
			hashCode = hashCode * -1521134295 + PostId.GetHashCode();
			hashCode = hashCode * -1521134295 + ReblogParentBlogName.GetHashCode();
			return hashCode;
		}
예제 #4
0
 public override int GetHashCode()
 {
     return(PostId.GetHashCode());
 }