projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* HttpChannel.cs, HttpClientChannel.cs, HttpHelper.cs, HttpServer.cs,
[mono.git]
/
mcs
/
errors
/
error-5.cs
1
// The event access is illegal and it should bail out
2
3
using System;
4
5
delegate void MyEventHandler();
6
7
class MyEvent {
8
public event MyEventHandler SomeEvent;
9
}
10
11
class EventDemo {
12
13
public static void Main(){
14
MyEvent evt = new MyEvent();
15
// CS0070
16
evt.SomeEvent();
17
}
18
}