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
/
cs0122-8.cs
1
// cs0122-8.cs: `A.member' is inaccessible due to its protection level
2
// Line: 17
3
// NOTE: if `member' were a field or a property, this'd be CS1540
4
5
using System;
6
7
class A
8
{
9
protected event EventHandler member;
10
}
11
12
class B : A
13
{
14
static void Main ()
15
{
16
A a = new A ();
17
a.member += Handler;
18
}
19
20
static void Handler (object sender, EventArgs args) {}
21
}
22
23