blob: 677a4b2a24d32b119e6fab0bf18d5fb3437dbb24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// CS1739: The best overloaded method match for `System.Delegate.DynamicInvoke(params object[])' does not contain a parameter named `b'
// Line: 18
using System;
class C
{
delegate int IntDelegate (int a);
static int TestInt (int u)
{
return 29;
}
public static void Main ()
{
var del = new IntDelegate (TestInt);
del.DynamicInvoke (b : 7);
}
}
|