public override int GetHashCode() { unchecked { var hashCode = North.GetHashCode(); hashCode = (hashCode * 397) ^ South.GetHashCode(); hashCode = (hashCode * 367) ^ East.GetHashCode(); hashCode = (hashCode * 347) ^ West.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { int result = CurrentSite.GetHashCode(); result = (result * 397) ^ North.GetHashCode(); result = (result * 397) ^ South.GetHashCode(); result = (result * 397) ^ East.GetHashCode(); result = (result * 397) ^ West.GetHashCode(); return(result); } }