[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / tests / test-anon-178.cs
1 using System;
2
3 public abstract class BaseClass<T>
4 {
5 }
6
7 public class DerivedClass : BaseClass<int>
8 {
9 }
10
11 public abstract class CA
12 {
13         [Obsolete]
14         public virtual void Foo<T, U> (U args) where T : BaseClass<U>, new()
15         {
16         }
17 }
18
19 public class CB : CA
20 {
21         public CB ()
22         {
23                 int x = 4;
24                 Action<int> pp = r => base.Foo<DerivedClass, int> (x);
25         }
26
27         public static void Main ()
28         {
29                 new CB ();
30         }
31 }