2010-05-19 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-246.cs
blob1e7ca4bd69e09918ada4e7e733101706af098928
1 using System;
3 namespace TestCase
5 interface ITest
9 class CTest : ITest
11 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;