Files
mono/mcs/errors/cs0762.cs
T
2008-09-12 12:05:17 +00:00

15 lines
225 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);
}
}