Files
mono/mcs/errors/cs0762.cs
T
Marek Safar 0759fb325c properties
svn path=/trunk/mcs/; revision=156170
2010-04-27 09:03:55 +00:00

15 lines
211 B
C#
Executable File

// CS0762: Cannot create delegate from partial method declaration `C.Foo()'
// Line: 12
partial class C
{
delegate void D ();
partial void Foo ();
static void Main ()
{
D d = new D (new C ().Foo);
}
}