repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Reenable AOT, it wasn't enabled on the x86 buildbot anyway.
[mcs.git]
/
tests
/
gtest-086.cs
blob
34f094223d4084700a1b63e0a50e2f5bfdff80a5
1
public interface
IFoo
<
S
>
2
{ }
3
4
public class
ArrayList
<
T
>
5
{
6
public virtual int
InsertAll
(
IFoo
<
T
>
foo
)
7
{
8
return
0
;
9
}
10
11
public virtual int
InsertAll
<
U
> (
IFoo
<
U
>
foo
)
12
where U
:
T
13
{
14
return
1
;
15
}
16
17
public virtual int
AddAll
(
IFoo
<
T
>
foo
)
18
{
19
return
InsertAll
(
foo
);
20
}
21
}
22
23
class
X
24
{
25
static void
Main
()
26
{ }
27
}