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-4.cs
1
// CS0672: Member `B.MyEvent' overrides obsolete member `A.MyEvent'. Add the Obsolete attribute to `B.MyEvent'
2
// Line: 13
3
// Compiler options: -warnaserror
4
5
using System;
6
7
class A {
8
[Obsolete]
9
public virtual event EventHandler MyEvent;
10
}
11
12
class B : A {
13
public override event EventHandler MyEvent;
14
}