repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-11-17 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs0122-7.cs
blob
6945e6dd511c40317dab8a125e5072013456abb4
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