public override int GetHashCode() { int hash = 1; if (HasCity) { hash ^= City.GetHashCode(); } if (HasCountry) { hash ^= Country.GetHashCode(); } if (HasMetro) { hash ^= Metro.GetHashCode(); } if (HasMostSpecific) { hash ^= MostSpecific.GetHashCode(); } if (HasRegion) { hash ^= Region.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (city_ != null) { hash ^= City.GetHashCode(); } if (country_ != null) { hash ^= Country.GetHashCode(); } if (metro_ != null) { hash ^= Metro.GetHashCode(); } if (mostSpecific_ != null) { hash ^= MostSpecific.GetHashCode(); } if (region_ != null) { hash ^= Region.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }