repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[tuner] handle the case with multiple "preserve" attributes
[mono-project.git]
/
mcs
/
tests
/
test-anon-166.cs
blob
c695d33738bad684b6fa8bd0ba6b36d496314ef2
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
4
class
A
5
{
6
void
Test
<
T
,
U
> ()
where T
:
class
,
IList
<
U
>
7
{
8
Action a
= () => {
9
var
d
=
default
(
T
);
10
Action a2
= () => {
11
d
=
null
;
12
};
13
14
a2
();
15
};
16
17
a
();
18
}
19
20
public static int
Main
()
21
{
22
var
a
=
new
A
();
23
a
.
Test
<
int
[],
int
> ();
24
return
0
;
25
}
26
}