In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
[mcs.git] / tests / gtest-234.cs
blob28fb7d73182e32956596280db11d952ac1bbf55f
1 public interface IFoo { }
2 public interface IFoo<T> : IFoo { }
4 public class Test
6 public IFoo GetFoo () { return GetFooGeneric<object> (); }
8 public IFoo<T> GetFooGeneric<T> () { return default (IFoo<T>); }
10 static void Main ()
12 Test test = new Test ();
13 test.GetFoo ();