projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
do not check order sequence if option /order was not used
[mono.git]
/
mcs
/
tests
/
gtest-531.cs
1
class ATop<T> : IA<T>
2
{
3
IA<T> list;
4
5
T[] IB<T>.ToArray (T[] t)
6
{
7
return null;
8
}
9
10
void IC.ToArray ()
11
{
12
}
13
14
public void Test ()
15
{
16
list = this;
17
list.ToArray (new T [0]);
18
list.ToArray ();
19
}
20
}
21
22
interface IA<U> : IC, IB<U>
23
{
24
}
25
26
interface IB<V> : IC
27
{
28
V[] ToArray (V[] array);
29
}
30
31
interface IC
32
{
33
void ToArray ();
34
}
35
36
class M
37
{
38
static int Main ()
39
{
40
new ATop<short>().Test ();
41
return 0;
42
}
43
}