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

gtest-221.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 47c0eaf394cd777ffdedc0ac101a3b3707507b40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
interface IFoo {}
interface IBar {}

class C1<IFoo> where IFoo : IBar
{
}

abstract class C2
{
        public abstract C1<T> Hoge<T> (C1<T> c) where T : IBar;
}

class C3 : C2
{
        public override C1<T> Hoge<T> (C1<T> c) { return null; }
}

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