projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
tests
/
gen-86.cs
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
}