Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

23 lines
291 B
C#

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 ()
{ }
}