/// <summary> /// Current GetHashCode implementation not consistent with Equals method (because of /// <see cref="Point"/>.<see cref="Point.GetHashCode()"/> /// implementation). /// <para>Use it only where it really needed and with caution.</para> /// </summary> public override int GetHashCode() { unchecked { return((A.GetHashCode() * 397) ^ B.GetHashCode()); } }
/// <summary> /// Current GetHashCode implementation not consistent with Equals method (because of /// <see cref="Point"/>.<see cref="Point.GetHashCode()"/> /// implementation). /// <para>Use it only where it really needed and with caution.</para> /// </summary> public override int GetHashCode() { unchecked { return((From.GetHashCode() * 397) ^ To.GetHashCode()); } }
/// <summary> /// Current GetHashCode implementation not consistent with Equals method (because of /// <see cref="Point"/>.<see cref="Point.GetHashCode()"/> /// implementation). /// <para>Use it only where it really needed and with caution.</para> /// </summary> public override int GetHashCode() { unchecked { return (BottomLeft.GetHashCode() * 397) ^ TopRight.GetHashCode(); } }