public override int GetHashCode() { unchecked { var hashCode = Status != null?Status.GetHashCode() : 0; hashCode = (hashCode * 397) ^ (StatusDetail != null ? StatusDetail.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0); return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (Status != null) { hashCode = hashCode * 59 + Status.GetHashCode(); } if (StatusDetail != null) { hashCode = hashCode * 59 + StatusDetail.GetHashCode(); } if (Description != null) { hashCode = hashCode * 59 + Description.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (createTime_ != null) { hash ^= CreateTime.GetHashCode(); } if (endTime_ != null) { hash ^= EndTime.GetHashCode(); } if (Target.Length != 0) { hash ^= Target.GetHashCode(); } if (Verb.Length != 0) { hash ^= Verb.GetHashCode(); } if (StatusDetail.Length != 0) { hash ^= StatusDetail.GetHashCode(); } if (CancelRequested != false) { hash ^= CancelRequested.GetHashCode(); } if (ApiVersion.Length != 0) { hash ^= ApiVersion.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }