projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add profile docs
[mono.git]
/
mcs
/
tests
/
test-788.cs
1
using System;
2
3
class Program
4
{
5
static int Main ()
6
{
7
B b = new B ();
8
if (b.Message != "OK")
9
return 1;
10
return 0;
11
}
12
}
13
14
class A
15
{
16
public virtual string Message
17
{
18
get
19
{
20
return "OK";
21
}
22
}
23
}
24
25
class B : A
26
{
27
new string Message
28
{
29
get
30
{
31
throw new Exception ();
32
}
33
}
34
}
35