2004-01-26 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / tests / gen-37.cs
1 public class Foo<T,U>
2 {
3         public void Hello (Foo<T,U> foo)
4         {
5         }
6
7         public virtual void Test ()
8         {
9                 Hello (this);
10         }
11 }
12
13 public class Bar<T> : Foo<T,long>
14 {
15         public void Test (Foo<T,long> foo)
16         {
17                 Hello (foo);
18         }
19 }
20
21 public class Baz<T> : Foo<T,string>
22 {
23         public override void Test ()
24         {
25                 Hello (this);
26         }
27 }
28
29 class X
30 {
31         static void Main ()
32         { }
33 }