projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
tests
/
test-252.cs
1
// testcase from #58290
2
3
delegate void Foo ();
4
class A {
5
public event Foo Bar;
6
7
public static void m1 () { }
8
9
public static int Main ()
10
{
11
A a = new A();
12
a.Bar += new Foo (m1);
13
a.Bar -= new Foo (m1);
14
return (a.Bar == null) ? 0 : 1;
15
}
16
}
17