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-03-09 Chris Toshok <toshok@ximian.com>
[mcs.git]
/
errors
/
cs0809.cs
blob
bdeb249bae23504f9f4558c54325c9a8ab28b4b1
1
// CS0809: Obsolete member `B.Property' overrides non-obsolete member `A.Property'
2
// Line: 17
3
// Compiler options: -warnaserror -warn:4
4
5
using
System
;
6
7
class
A
8
{
9
public virtual int
Property
{
10
set
{ }
11
}
12
}
13
14
class
B
:
A
15
{
16
[
Obsolete
(
"TEST"
)]
17
public override int
Property
{
18
set
{ }
19
}
20
}