projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge all static runtime libs into libmono-static.
[mono.git]
/
mcs
/
tests
/
test-anon-165.cs
1
using System;
2
3
interface IA
4
{
5
}
6
7
class C : IA
8
{
9
void Foo<T> () where T : class, IA
10
{
11
Func<T, T> m = l => {
12
T i = default (T);
13
if (l == i) {
14
Func<T> m2 = () => i;
15
m2 ();
16
}
17
18
return i;
19
};
20
21
m (null);
22
}
23
24
public static int Main ()
25
{
26
var c = new C ();
27
c.Foo<C> ();
28
return 0;
29
}
30
}