// ReSharper disable UnusedParameter.Local private static void AssertEqual(TypeBase typeA, TypeBase typeB, string message = null) { Assert.True(typeA == typeB, message + " =="); Assert.True(typeA.Equals(typeB), message + " Equals"); Assert.True(typeA.Equals((object)typeB), message + " Equals(object)"); }
// ReSharper disable UnusedParameter.Local private static void AssertEqual(TypeBase typeA, TypeBase typeB, string message = null) { Assert.True(typeA == typeB, message + " =="); Assert.True(typeA.Equals(typeB), message + " Equals"); Assert.True(typeA.Equals((object)typeB), message + " Equals(object)"); }