2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs1746.cs
blob93b873752175aadf64a4837c0fcaebefcfdbfb9a
1 // CS1746: The delegate `C.IntDelegate' does not contain a parameter named `b'
2 // Line: 18
3 // Compiler options: -langversion:future
5 using System;
7 class C
9 delegate int IntDelegate (int a);
11 static int TestInt (int u)
13 return 29;
16 public static void Main ()
18 var del = new IntDelegate (TestInt);
19 del (b : 7);