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