Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-210.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 76214f5f54f113873ffc165531b0bb4c55afa104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
delegate void FooHandler ();

class X
{
	public static void foo ()
	{ }

	public static void Main ()
	{
		object o = new FooHandler (foo);
		((FooHandler) o) ();
	}
}