public override int GetHashCode() { unchecked { var hashCode = toolState.GetHashCode(); hashCode = (hashCode * 397) ^ selectionType.GetHashCode(); hashCode = (hashCode * 397) ^ measureMode.GetHashCode(); hashCode = (hashCode * 397) ^ measureFormat.GetHashCode(); hashCode = (hashCode * 397) ^ selectedAnchorsContext.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { return(Col1.GetHashCode() ^ Col2.GetHashCode() ^ Dx1.GetHashCode() ^ Dx2.GetHashCode() ^ Dy1.GetHashCode() ^ Dy2.GetHashCode() ^ Row1.GetHashCode() ^ Row2.GetHashCode() ^ AnchorType.GetHashCode()); }