[cominterop] Default to [in] parameter direction when not specified explicitly.
[mono-project.git] / mcs / errors / cs1739-3.cs
blob677a4b2a24d32b119e6fab0bf18d5fb3437dbb24
1 // CS1739: The best overloaded method match for `System.Delegate.DynamicInvoke(params object[])' does not contain a parameter named `b'
2 // Line: 18
4 using System;
6 class C
8 delegate int IntDelegate (int a);
10 static int TestInt (int u)
12 return 29;
15 public static void Main ()
17 var del = new IntDelegate (TestInt);
18 del.DynamicInvoke (b : 7);