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

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

public static class Test
{
	private static void OnFooTest ()
	{ 
	}

	public static event FooHandler Foo;

	public static void Main()
	{
		FooHandler foo = delegate {
			Foo += OnFooTest;
		};
	}
}