Author: marek
Date: 2007-12-21 08:20:56 -0500 (Fri, 21 Dec 2007)
New Revision: 91760
Added:
trunk/mcs/errors/cs1502-8.cs
Log:
New test.
Added: trunk/mcs/errors/cs1502-8.cs
===================================================================
--- trunk/mcs/errors/cs1502-8.cs 2007-12-21 13:20:40 UTC (rev 91759)
+++ trunk/mcs/errors/cs1502-8.cs 2007-12-21 13:20:56 UTC (rev 91760)
@@ -0,0 +1,17 @@
+// CS1502: The best overloaded method match for `C.Test_C(System.Type, params
int[])' has some invalid arguments
+// Line: 10
+
+using System;
+
+public class C
+{
+ public static int Main ()
+ {
+ return Test_C (typeof (C), null, null);
+ }
+
+ static int Test_C (Type t, params int[] a)
+ {
+ return 1;
+ }
+}
Property changes on: trunk/mcs/errors/cs1502-8.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches