a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
266 B
C#
Executable File
18 lines
266 B
C#
Executable File
// 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);
|
|
}
|
|
}
|