/// <summary> /// Returns the hash code for this instance. /// </summary> /// <returns>The hash code for this instance.</returns> public override Int32 GetHashCode() { return(HigherHalf.GetHashCode() ^ LowerHalf.GetHashCode()); }
public Int32 CompareTo(Value128 other) { var difference = HigherHalf.CompareTo(other.HigherHalf); return(difference == 0 ? LowerHalf.CompareTo(other.LowerHalf) : difference); }