blob: 72df4c7a5ef5792e060109f3b8746576f4307f9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// CS1503: Argument `#1' cannot convert `method group' expression to type `IInterface'
// Line: 15
public delegate void Del ();
public interface IInterface
{
void Do ();
}
public static class Test
{
public static void Do (IInterface val)
{
Do (val.Do);
}
}
|