private static void VerifyEquality(FrameworkName x, FrameworkName y) { Assert.NotNull(x); Assert.True(x == y); Assert.False(x != y); Assert.True(x.Equals(y)); Assert.True(((IEquatable <FrameworkName>)x).Equals(y)); Assert.Equal(x.GetHashCode(), y.GetHashCode()); }
private static void VerifyEquality(FrameworkName x, FrameworkName y) { Assert.NotNull(x); Assert.True(x == y); Assert.False(x != y); Assert.True(x.Equals(y)); Assert.True(((IEquatable<FrameworkName>)x).Equals(y)); Assert.Equal(x.GetHashCode(), y.GetHashCode()); }
public override int GetHashCode() { return(FrameworkName.GetHashCode()); }