projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mini] Fix test compiling when running !MOBILE
[mono.git]
/
mcs
/
tests
/
dtest-042.cs
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
}