Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRavi Pratap M <ravi@mono-cvs.ximian.com>2002-07-11 02:11:01 +0400
committerRavi Pratap M <ravi@mono-cvs.ximian.com>2002-07-11 02:11:01 +0400
commitf040abf67ce186c6387aa1b73c2a4b2fc38e9d1b (patch)
treeab730acf8a1477cea62026ad3fab620f50dd3d9e /mcs/tests/test-142.cs
parent512c903f946a1971b61183b6b3a7c491af760c19 (diff)
2002-07-10 Ravi Pratap <ravi@ximian.com>
* test-142.cs : Add. This ensures events can be accessed correctly from subclasses etc. svn path=/trunk/mcs/; revision=5686
Diffstat (limited to 'mcs/tests/test-142.cs')
-rw-r--r--mcs/tests/test-142.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/tests/test-142.cs b/mcs/tests/test-142.cs
new file mode 100644
index 00000000000..686283b0aaf
--- /dev/null
+++ b/mcs/tests/test-142.cs
@@ -0,0 +1,20 @@
+using System;
+
+public class TestClass : TestBaseClass {
+
+ public TestClass (EventHandler hndlr) : base ()
+ {
+ Blah += hndlr;
+ }
+
+ public static int Main ()
+ {
+ return 0;
+ }
+}
+
+public class TestBaseClass {
+
+ public event EventHandler Blah;
+
+}