projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-10-17 Geoff Norton <gnorton@novell.com>
[mono.git]
/
mcs
/
errors
/
cs0672-3.cs
1
// cs0672-3.cs: Member `B.Warning' overrides obsolete member `A.Warning'. Add the Obsolete attribute to `B.Warning'
2
// Line: 15
3
// Compiler options: -warnaserror
4
5
using System;
6
7
public class A {
8
[Obsolete()]
9
public virtual string Warning {
10
get { return ""; }
11
}
12
}
13
14
public class B : A {
15
public override string Warning {
16
get { return ""; }
17
}
18
}