* ExpressionTest_Call.cs: fix wrong test.
svn path=/trunk/mcs/; revision=92501
+2008-01-09 Jb Evain <jbevain@novell.com>
+
+ * ExpressionTest_Call.cs: fix wrong test.
+
2008-01-09 Jb Evain <jbevain@novell.com>
* ExpressionTest_TypeAs.cs: correct wrong test for numerics.
public class ExpressionTest_CallWithType
{
[Test]
- [ExpectedException (typeof (NullReferenceException))]
+ [ExpectedException (typeof (ArgumentNullException))]
public void Arg1Null ()
{
Expression.Call ((Type)null, "TestMethod", null, Expression.Constant (1));