//////////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> Serves as the default hash function. </summary> /// /// <remarks> Lucas Alves, 15/01/2016. </remarks> /// /// <returns> A hash code for the current object. </returns> //////////////////////////////////////////////////////////////////////////////////////////////////// public override int GetHashCode() { return(_a.GetHashCode()); }
/// <summary> /// Serves as the default hash function. /// </summary> /// <returns>A hash code for the current object.</returns> /// <remarks>Lucas Alves, 15/01/2016.</remarks> public override int GetHashCode() => _a.GetHashCode() ^ _b.GetHashCode();