[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / gtest-234.cs
blobd1f0d8857b62ed364b8afc92a2d0c760f05c608e
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 public static void Main ()
12 Test test = new Test ();
13 test.GetFoo ();