[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / test-anon-111.cs
blob0c24a68174def16754a0c7fe103df009f3947330
1 using System;
3 public delegate void Foo ();
5 public class Test<R>
7 public void World<S,T> (S s, T t)
8 where S : X
9 where T : S
10 { }
12 public void Hello<U,V> (U u, V v)
13 where U : X
14 where V : U
16 Foo foo = delegate {
17 World (u, v);
19 foo ();
23 public class X
25 public static void Main ()
27 X x = new X ();
28 Test<int> test = new Test<int> ();
29 test.Hello (x, x);