public static void Ctor_String() { string message = "Created AmbiguousImplementationException"; var exception = new AmbiguousImplementationException(message); Assert.Equal(message, exception.Message); Assert.Equal(COR_E_AMBIGUOUSIMPLEMENTATION, exception.HResult); }
public static void Ctor_Empty() { var exception = new AmbiguousImplementationException(); Assert.NotNull(exception); Assert.NotEmpty(exception.Message); Assert.Equal(COR_E_AMBIGUOUSIMPLEMENTATION, exception.HResult); }