Merge branch 'master' of http://github.com/mono/mono
[mono.git] / mcs / errors / cs1739-3.cs
1 // CS1739: The best overloaded method match for `System.Delegate.DynamicInvoke(params object[])' does not contain a parameter named `b'\r
2 // Line: 18\r
3 \r
4 using System;\r
5 \r
6 class C\r
7 {\r
8         delegate int IntDelegate (int a);\r
9         \r
10         static int TestInt (int u)\r
11         {\r
12                 return 29;\r
13         }\r
14         \r
15         public static void Main ()\r
16         {\r
17                 var del = new IntDelegate (TestInt);\r
18                 del.DynamicInvoke (b : 7);\r
19         }\r
20 }\r