2009-07-11 Michael Barker <mike@middlesoft.co.uk>
[mono.git] / mcs / errors / cs1746.cs
1 // CS1746: The delegate `C.IntDelegate' does not contain a parameter named `b'
2 // Line: 18
3 // Compiler options: -langversion:future
4
5 using System;
6
7 class C
8 {
9         delegate int IntDelegate (int a);
10         
11         static int TestInt (int u)
12         {
13                 return 29;
14         }
15         
16         public static void Main ()
17         {
18                 var del = new IntDelegate (TestInt);
19                 del (b : 7);
20         }
21 }