public override int GetHashCode() { int hash = 1; if (DepartingCity.Length != 0) { hash ^= DepartingCity.GetHashCode(); } if (ArrivingCity.Length != 0) { hash ^= ArrivingCity.GetHashCode(); } if (departingDate_ != null) { hash ^= DepartingDate.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (departingDate_ != null) { hash ^= DepartingDate.GetHashCode(); } if (arrivingDate_ != null) { hash ^= ArrivingDate.GetHashCode(); } if (DepartingCity.Length != 0) { hash ^= DepartingCity.GetHashCode(); } if (ArrivingCity.Length != 0) { hash ^= ArrivingCity.GetHashCode(); } if (Passanger != 0) { hash ^= Passanger.GetHashCode(); } if (Price != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Price); } if (Provider.Length != 0) { hash ^= Provider.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }