projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5714 from alexischr/update_bockbuild
[mono.git]
/
mcs
/
tests
/
test-anon-111.cs
1
using System;
2
3
public delegate void Foo ();
4
5
public class Test<R>
6
{
7
public void World<S,T> (S s, T t)
8
where S : X
9
where T : S
10
{ }
11
12
public void Hello<U,V> (U u, V v)
13
where U : X
14
where V : U
15
{
16
Foo foo = delegate {
17
World (u, v);
18
};
19
foo ();
20
}
21
}
22
23
public class X
24
{
25
public static void Main ()
26
{
27
X x = new X ();
28
Test<int> test = new Test<int> ();
29
test.Hello (x, x);
30
}
31
}