2010-03-02 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / errors / cs0123-5.cs
blob25287f9bf81bc278a1f4cb272c5fa555bd0c198a
1 // CS0123: A method or delegate `C.Button1_Click(params object[])' parameters do not match delegate `EventHandler(params int[])' parameters
2 // Line: 20
4 using System;
6 public delegate void EventHandler (params int[] args);
8 public class C
10 public void Connect ()
12 EventHandler Click = new EventHandler (Button1_Click);
15 public void Button1_Click (params object[] i)