summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-404.cs
blob: 8506fbf98c7394ab752f4028fe4cc533d9db3c29 (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
using System;

namespace Test
{
	public static class Program
	{
		public static void Main ()
		{
		}
	}

	public abstract class Class1<T1>
	{
		protected event EventHandler doSomething;
	}

	public class Class2<T> : Class1<T>
	{
		public event EventHandler DoSomething
		{
			add { this.doSomething += value; }
			remove { this.doSomething -= value; }
		}
	}
}