projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* HttpWebRequestTest.cs: Remove usage of deprecated Assertion class.
[mono.git]
/
mcs
/
errors
/
cs0122-7.cs
1
// cs0122-7.cs: `BB.AnEvent' is inaccessible due to its protection level
2
// Line: 10
3
4
using System;
5
6
class X
7
{
8
static void Main ()
9
{
10
BB b = new BB ();
11
b.AnEvent += DoIt;
12
}
13
14
public static void DoIt (object sender, EventArgs args) {}
15
}
16
17
public class BB
18
{
19
event EventHandler AnEvent;
20
}
21