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
w32file-unix.c: In function 'mono_w32file_get_file_size':
[mono-project.git]
/
mcs
/
errors
/
cs0122-7.cs
blob
ae574bb0a0405cab748b8fa8c3c4e0730d7425d1
1
// CS0122: `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