repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
tests
/
test-293.cs
blob
d90e4270033b315d1be1e8ecd9a5ef6318c86872
1
// This code must be compilable without any warning
2
// Compiler options: -warnaserror -warn:4
3
4
using
System
;
5
6
public class
A
{
7
[
Obsolete
()]
8
public virtual string
Warning
{
9
get
{ return ""; }
10
}
11
}
12
13
public class
B
:
A
{
14
[
Obsolete
()]
15
public override string
Warning
{
16
get
{ return ""; }
17
}
18
19
public static void
Main
()
20
{
21
}
22
}
23