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
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs0672-3.cs
blob
8e92a573d1c43aff165559170fbdc4efcdd1f1d2
1
// CS0672: 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
}