/// <inheritdoc /> public override int GetHashCode() { unchecked { return((Line1.GetHashCode() * 397) ^ Line2.GetHashCode()); } }
public override int GetHashCode() { int hash = 1; if (Line1.Length != 0) { hash ^= Line1.GetHashCode(); } if (HasLine2) { hash ^= Line2.GetHashCode(); } if (HasCity) { hash ^= City.GetHashCode(); } if (Zipcode != 0L) { hash ^= Zipcode.GetHashCode(); } if (State.Length != 0) { hash ^= State.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { int result = (Line1 != null ? Line1.GetHashCode() : 0); result = (result * 397) ^ (Town != null ? Town.GetHashCode() : 0); result = (result * 397) ^ (PostalCode != null ? PostalCode.GetHashCode() : 0); return(result); } }
public override int GetHashCode() { unchecked { var result = Id.GetHashCode(); result = (result * 397) ^ (Line1 != null ? Line1.GetHashCode() : 0); result = (result * 397) ^ (Line2 != null ? Line2.GetHashCode() : 0); result = (result * 397) ^ (Location != null ? Location.GetHashCode() : 0); return(result); } }
public override int GetHashCode() { unchecked { var hashCode = (Line1 != null ? Line1.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Line2 != null ? Line2.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (City != null ? City.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (State != null ? State.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Zip != null ? Zip.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { var hashCode = Name.GetHashCode(); hashCode = hashCode * 37 ^ Line1.GetHashCode(); hashCode = hashCode * 37 ^ Line2.GetHashCode(); hashCode = hashCode * 37 ^ City.GetHashCode(); hashCode = hashCode * 37 ^ State.GetHashCode(); hashCode = hashCode * 37 ^ ZipCode.GetHashCode(); hashCode = hashCode * 37 ^ Country.GetHashCode(); return(hashCode); }
public override int GetHashCode() { unchecked { var result = Line1.GetHashCode(); result = (result * 397) ^ (Line2 != null ? Line2.GetHashCode() : 0); result = (result * 397) ^ ZipCode.GetHashCode(); result = (result * 397) ^ City.GetHashCode(); result = (result * 397) ^ State.GetHashCode(); return(result); } }
public override int GetHashCode() { unchecked { int hashCode = Line1 != null?Line1.GetHashCode() : 0; hashCode = (hashCode * 397) ^ (Line2 != null ? Line2.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Line3 != null ? Line3.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Line4 != null ? Line4.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (City != null ? City.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (State != null ? State.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PostalCode != null ? PostalCode.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Country != null ? Country.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (Line1.Length != 0) { hash ^= Line1.GetHashCode(); } if (Line2.Length != 0) { hash ^= Line2.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(Line1.GetHashCode() ^ Line2.GetHashCode()); }