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