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
[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git]
/
mcs
/
tests
/
dtest-042.cs
blob
c78f9cfcfc1241c4d5c33c5c698ca82876fe7718
1
class
A
2
{
3
protected virtual object
Prop { get { return null; }
set
{ }
}
4
}
5
6
class
B
:
A
7
{
8
public void
Foo
()
9
{
10
}
11
12
protected override dynamic
Prop { get { return new B (); }
}
13
}
14
15
class
Program
:
B
16
{
17
void
Test
()
18
{
19
base
.
Prop
.
Foo
();
20
}
21
22
public static void
Main
()
23
{
24
new
Program
().
Test
();
25
}
26
}