Author: marek
Date: 2008-01-21 11:53:25 -0500 (Mon, 21 Jan 2008)
New Revision: 93416

Added:
   trunk/mcs/errors/cs0123-5.cs
Log:
New test.



Added: trunk/mcs/errors/cs0123-5.cs
===================================================================
--- trunk/mcs/errors/cs0123-5.cs        2008-01-21 16:53:23 UTC (rev 93415)
+++ trunk/mcs/errors/cs0123-5.cs        2008-01-21 16:53:25 UTC (rev 93416)
@@ -0,0 +1,18 @@
+// CS0123: A method or delegate `C.Button1_Click(params object[])' parameters 
do not match delegate `EventHandler(params int[])' parameters
+// Line: 20
+
+using System;
+
+public delegate void EventHandler (params int[] args);
+
+public class C
+{
+       public void Connect ()
+       {
+               EventHandler Click = new EventHandler (Button1_Click);
+       }
+
+       public void Button1_Click (params object[] i)
+       {
+       }
+}


Property changes on: trunk/mcs/errors/cs0123-5.cs
___________________________________________________________________
Name: svn:eol-style
   + native

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to