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-13.cs
blob
f921ae55728d0987fd646775e6364db3a72d3355
1
using
System
;
2
3
class
Foo
{
4
5
public bool
MyMethod
()
6
{
7
Console
.
WriteLine
(
"Base class method !"
);
8
return true
;
9
}
10
}
11
12
class
Blah
:
Foo
{
13
14
public static int
Main
()
15
{
16
Blah k
=
new
Blah
();
17
18
Foo i
=
k
;
19
20
if
(
i
.
MyMethod
())
21
return
0
;
22
else
23
return
1
;
24
25
26
}
27
28
}
29
30
31