public override int GetHashCode() { int hash = 1; if (Parent.Length != 0) { hash ^= Parent.GetHashCode(); } if (Resume.Length != 0) { hash ^= Resume.GetHashCode(); } if (RegionCode.Length != 0) { hash ^= RegionCode.GetHashCode(); } if (LanguageCode.Length != 0) { hash ^= LanguageCode.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Revision != 0) { hash ^= Revision.GetHashCode(); } if (RegionCode.Length != 0) { hash ^= RegionCode.GetHashCode(); } if (LanguageCode.Length != 0) { hash ^= LanguageCode.GetHashCode(); } if (PostalCode.Length != 0) { hash ^= PostalCode.GetHashCode(); } if (SortingCode.Length != 0) { hash ^= SortingCode.GetHashCode(); } if (AdministrativeArea.Length != 0) { hash ^= AdministrativeArea.GetHashCode(); } if (Locality.Length != 0) { hash ^= Locality.GetHashCode(); } if (Sublocality.Length != 0) { hash ^= Sublocality.GetHashCode(); } hash ^= addressLines_.GetHashCode(); hash ^= recipients_.GetHashCode(); if (Organization.Length != 0) { hash ^= Organization.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { int hashCode = LocationId.GetHashCode(); hashCode = (hashCode * 397) ^ (CountryCode != null ? CountryCode.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (RegionCode != null ? RegionCode.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CityName != null ? CityName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PostalCode != null ? PostalCode.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Latitude.GetHashCode(); hashCode = (hashCode * 397) ^ Longitude.GetHashCode(); hashCode = (hashCode * 397) ^ MetroCode.GetHashCode(); hashCode = (hashCode * 397) ^ (AreaCode != null ? AreaCode.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (RegionCode.Length != 0) { hash ^= RegionCode.GetHashCode(); } if (Number.Length != 0) { hash ^= Number.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.createTime) { hashcode = (hashcode * 397) + CreateTime.GetHashCode(); } if (__isset.regionCode) { hashcode = (hashcode * 397) + RegionCode.GetHashCode(); } if (__isset.identities) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Identities); } } return(hashcode); }
public override int GetHashCode() { return(key.GetHashCode() ^ CoordComp.GetHashCode() ^ OverallComp.GetHashCode() ^ CommunicationComp.GetHashCode() ^ CourtesyComp.GetHashCode() ^ ResponsivenessComp.GetHashCode() ^ InterviewDate.GetHashCode() ^ SampleDate.GetHashCode() ^ LoadDate.GetHashCode() ^ SurveyRound.GetHashCode() ^ RegionCode.GetHashCode() ^ WesId.GetHashCode() ^ SurveyOutcome.GetHashCode() ^ q1.GetHashCode() ^ q2.GetHashCode() ^ q3.GetHashCode() ^ q4.GetHashCode() ^ q5.GetHashCode() ^ q6.GetHashCode() ^ q7.GetHashCode() ^ q8.GetHashCode() ^ q9.GetHashCode() ^ q10.GetHashCode() ^ q11.GetHashCode() ^ q12.GetHashCode() ^ q13.GetHashCode() ^ q14.GetHashCode() ^ q15.GetHashCode() ^ q16.GetHashCode() ^ q17.GetHashCode() ^ q18.GetHashCode() ^ q19.GetHashCode() ^ q20.GetHashCode() ^ SurveyQuarter.GetHashCode() ^ SurveyType.GetHashCode()); }
public override int GetHashCode() => RegionCode.GetHashCode();
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (Label != null) { hashCode = hashCode * 59 + Label.GetHashCode(); } hashCode = hashCode * 59 + Score.GetHashCode(); if (HouseNumber != null) { hashCode = hashCode * 59 + HouseNumber.GetHashCode(); } if (Street != null) { hashCode = hashCode * 59 + Street.GetHashCode(); } if (Region != null) { hashCode = hashCode * 59 + Region.GetHashCode(); } if (RegionCode != null) { hashCode = hashCode * 59 + RegionCode.GetHashCode(); } if (Neighbourhood != null) { hashCode = hashCode * 59 + Neighbourhood.GetHashCode(); } if (County != null) { hashCode = hashCode * 59 + County.GetHashCode(); } if (Macroregion != null) { hashCode = hashCode * 59 + Macroregion.GetHashCode(); } if (City != null) { hashCode = hashCode * 59 + City.GetHashCode(); } if (Country != null) { hashCode = hashCode * 59 + Country.GetHashCode(); } if (CountryCode != null) { hashCode = hashCode * 59 + CountryCode.GetHashCode(); } if (Continent != null) { hashCode = hashCode * 59 + Continent.GetHashCode(); } if (Postcode != null) { hashCode = hashCode * 59 + Postcode.GetHashCode(); } if (Features != null) { hashCode = hashCode * 59 + Features.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.mid) { hashcode = (hashcode * 397) + Mid.GetHashCode(); } if (__isset.userid) { hashcode = (hashcode * 397) + Userid.GetHashCode(); } if (__isset.phone) { hashcode = (hashcode * 397) + Phone.GetHashCode(); } if (__isset.email) { hashcode = (hashcode * 397) + Email.GetHashCode(); } if (__isset.regionCode) { hashcode = (hashcode * 397) + RegionCode.GetHashCode(); } if (__isset.displayName) { hashcode = (hashcode * 397) + DisplayName.GetHashCode(); } if (__isset.phoneticName) { hashcode = (hashcode * 397) + PhoneticName.GetHashCode(); } if (__isset.pictureStatus) { hashcode = (hashcode * 397) + PictureStatus.GetHashCode(); } if (__isset.thumbnailUrl) { hashcode = (hashcode * 397) + ThumbnailUrl.GetHashCode(); } if (__isset.statusMessage) { hashcode = (hashcode * 397) + StatusMessage.GetHashCode(); } if (__isset.allowSearchByUserid) { hashcode = (hashcode * 397) + AllowSearchByUserid.GetHashCode(); } if (__isset.allowSearchByEmail) { hashcode = (hashcode * 397) + AllowSearchByEmail.GetHashCode(); } if (__isset.picturePath) { hashcode = (hashcode * 397) + PicturePath.GetHashCode(); } if (__isset.musicProfile) { hashcode = (hashcode * 397) + MusicProfile.GetHashCode(); } if (__isset.videoProfile) { hashcode = (hashcode * 397) + VideoProfile.GetHashCode(); } } return(hashcode); }