diff options
author | Martin Baulig <martin@novell.com> | 2003-07-21 22:59:11 +0400 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2003-07-21 22:59:11 +0400 |
commit | 115d545a9f1b332a2b611e678565f62d1a0aefa8 (patch) | |
tree | c97f20a4af6f00ebc14544a0ab89a394a034d95a /mcs/errors/cs0079.cs | |
parent | af103a9e04d9d3e77a487dde5baf1a555775f2c6 (diff) |
2003-07-21 Martin Baulig <martin@ximian.com>
* syntax0068.cs, syntax0069.cs, syntax0071.cs, syntax0116.cs:
These are syntax errors which we'd need to catch in cs-parser.jay;
separate them from the other errors.
* cs0572.cs: New test.
svn path=/trunk/mcs/; revision=16497
Diffstat (limited to 'mcs/errors/cs0079.cs')
-rw-r--r-- | mcs/errors/cs0079.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mcs/errors/cs0079.cs b/mcs/errors/cs0079.cs index 413a1413c04..04900c92c1c 100644 --- a/mcs/errors/cs0079.cs +++ b/mcs/errors/cs0079.cs @@ -4,7 +4,7 @@ using System; class ErrorCS0079 { - delegate void Handler (); + public delegate void Handler (); event Handler privateEvent; public event Handler OnFoo { add { @@ -20,9 +20,6 @@ class ErrorCS0079 { } public static void Main () { - ErrorCS0079 error = new ErrorCS0079 (); - error.OnFoo += new Handler (error.Callback); - error.privateEvent (); } } |