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
Merge pull request #2314 from lambdageek/dev/local-handles
[mono-project.git]
/
mcs
/
errors
/
cs0672-2.cs
blob
f7df463d067a5478713722c6eb7e89abf47e60e7
1
// CS0672: 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
}