public static void EqualsTest(Int128 i1, object obj, bool expected) { if (obj is Int128 i2) { Assert.Equal(expected, i1.Equals(i2)); Assert.Equal(expected, i1.GetHashCode().Equals(i2.GetHashCode())); } Assert.Equal(expected, i1.Equals(obj)); }
public override int GetHashCode() { return(m_guid.GetHashCode()); }