Merge pull request #3591 from directhex/mono_libdir_fallback
[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'
2 // Line: 18
3
4 using System;
5
6 class C
7 {
8         delegate int IntDelegate (int a);
9         
10         static int TestInt (int u)
11         {
12                 return 29;
13         }
14         
15         public static void Main ()
16         {
17                 var del = new IntDelegate (TestInt);
18                 del.DynamicInvoke (b : 7);
19         }
20 }