repo.or.cz
/
mono-project.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-19 Chris Toshok <toshok@ximian.com>
[mono-project.git]
/
mcs
/
errors
/
cs0672-2.cs
blob
3d151e22cb1ba81d68d8056251804a9468de56c7
1
// cs0672-2.cs: Member `C.Method()' overrides obsolete member `BaseClass.Method()'. Add the Obsolete attribute to `C.Method()'
2
// Line: 14
3
// Compiler options: -warnaserror
4
5
using
System
;
6
7
class
BaseClass
{
8
[
Obsolete
]
9
protected virtual void
Method
() {}
10
}
11
12
class
C
:
BaseClass
13
{
14
protected override void
Method
() {}
15
}