[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / gtest-246.cs
blob34718b6e1b69c88ca5cf42a9afddf54c0285fc93
1 using System;
3 namespace TestCase
5 interface ITest
9 class CTest : ITest
11 public static void Main()
15 public void Bar()
20 class CGenericTest<T,V>
21 where T : ITest
22 where V : CTest, T, new()
24 public V Foo()
26 V TestObject = new V();
27 TestObject.Bar();
28 return TestObject;