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

gtest-521.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b7f6137b9ef7c6be0f2077a0c2d4d8c1ee2aec15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;

public delegate void D (object o);

public class E<T>
{
	public class I
	{
		public event D E;
	}

	public static void Test ()
	{
		I i = new I ();
		i.E += new D (EH);
	}

	static void EH (object sender)
	{
	}
}

public class M
{
	public static void Main ()
	{
		E<int>.Test ();
	}
}