Files
mono/mcs/errors/cs1656-5.cs
T
Marek Safar d470e0ca31 New tests.
svn path=/trunk/mcs/; revision=65428
2006-09-14 20:36:19 +00:00

17 lines
258 B
C#

// CS1656: Cannot assign to `Method_1' because it is a `method group'
// Line: 14
public class Test
{
void Method_1 ()
{
}
public static void Main ()
{
Test t = new Test ();
t.Method_1 += delegate { };
}
}