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
[interp] Fall back to old implementation when calling on proxy
[mono-project.git]
/
mcs
/
tests
/
test-197.cs
blob
4d9d217de7add16ec9fd95c8ce6ab6f5abd30c69
1
using
System
;
2
3
public interface
A
4
{
5
void
Foo
();
6
}
7
8
public interface
B
:
A
9
{ }
10
11
public abstract class
X
:
A
12
{
13
public abstract void
Foo
();
14
}
15
16
public abstract class
Y
:
X
,
B
17
{ }
18
19
public class
Z
:
Y
20
{
21
public override void
Foo
()
22
{
23
Console
.
WriteLine
(
"Hello World!"
);
24
}
25
}
26
27
class
Test
28
{
29
public static int
Main
()
30
{
31
Z z
=
new
Z
();
32
A a
=
z
;
33
a
.
Foo
();
34
return
0
;
35
}
36
}