* ConvertTest.cs: Test for exception thrown by 1.1. This is different
than the MSDN docs say. Probably a doc bug.
svn path=/trunk/mcs/; revision=38577
+2005-01-10 Nick Drochak <ndrochak@ieee.org>
+
+ * ConvertTest.cs: Test for exception thrown by 1.1. This is different
+ than the MSDN docs say. Probably a doc bug.
+
2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
* AppDomainTest.cs: Un-ignore tests that unloaded the appdomain (they
}
[Test]
- [ExpectedException (typeof (InvalidCastException))]
+ // 2005/01/10: The docs say this should throw an InvalidCastException,
+ // however, MS.NET 1.1 throws a NullReferenceException. Assuming docs
+ // are wrong.
+ [ExpectedException (typeof (NullReferenceException))]
public void ChangeTypeNullToValuetype ()
{
Convert.ChangeType (null, typeof (int));