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
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
gtest-531.cs
blob
e27fb1824f7f4c801cb7bad2458739dee2591a40
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
public static int
Main
()
39
{
40
new
ATop
<
short
>().
Test
();
41
return
0
;
42
}
43
}