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

16 lines
306 B
C#

public interface IFoo { }
public interface IFoo<T> : IFoo { }
public class Test
{
public IFoo GetFoo () { return GetFooGeneric<object> (); }
public IFoo<T> GetFooGeneric<T> () { return default (IFoo<T>); }
public static void Main ()
{
Test test = new Test ();
test.GetFoo ();
}
}