Files
mono/mcs/errors/cs1503-8.cs
T
Marek Safar d1cd73ce35 New test.
svn path=/trunk/mcs/; revision=112026
2008-09-01 13:48:17 +00:00

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);
}
}