[mcs] Fixes codegen for pattern probing with value-type variables
[mono.git] / mcs / errors / cs0149-2.cs
1 // CS0149: Method name expected
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