projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
34f094223d4084700a1b63e0a50e2f5bfdff80a5
[mono.git]
/
mcs
/
tests
/
gtest-086.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
}