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

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

public class Bar<U> where U : EventArgs
{
	internal void OnWorldDestroyed ()
	{
	}
}

public class Baz<U> where U : Bar<EventArgs>
{
	public void DestroyWorld (U bar)
	{
		bar.OnWorldDestroyed ();
	}
}

public class Bling
{
	public static void Main ()
	{
	}
}