New test.
[mono.git] / mcs / errors / cs1501-5.cs
1 // cs1501.cs : No overload for method `MyDelegate' takes `0' arguments
2 // Line : 17
3
4 public class Blah {
5
6         public delegate int MyDelegate (int i, int j);
7
8         public int Foo (int i, int j)
9         {
10                 return i+j;
11         }
12
13         public static void Main ()
14         {
15                 Blah i = new Blah ();
16
17                 MyDelegate del = new MyDelegate ();
18         }
19 }
20