projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* default.build: Fix relative path to key. Avoid use of ugly foreach
[mono.git]
/
mcs
/
errors
/
cs0672-2.cs
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
}