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:
authorMarek Safar <marek.safar@gmail.com>2004-08-23 00:07:53 +0400
committerMarek Safar <marek.safar@gmail.com>2004-08-23 00:07:53 +0400
commit6807edf7d9d75650624f2d6a2674ee01b2f0baa8 (patch)
tree1cfd5aed091afd168f812b442f0423e4d8a4c62d /mcs/errors/cs0102-11.cs
parent2d436d0ff08d62e33d325dd9a3ea623c2da1d049 (diff)
new error tests
svn path=/trunk/mcs/; revision=32664
Diffstat (limited to 'mcs/errors/cs0102-11.cs')
-rw-r--r--mcs/errors/cs0102-11.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/mcs/errors/cs0102-11.cs b/mcs/errors/cs0102-11.cs
new file mode 100644
index 00000000000..641c7335b49
--- /dev/null
+++ b/mcs/errors/cs0102-11.cs
@@ -0,0 +1,8 @@
+// cs0102.cs: The class 'SampleClass' already contains a definition for 'MyEvent'
+// Line: 7
+
+public class SampleClass {
+ public delegate void MyEvent ();
+
+ public void MyEvent () {}
+} \ No newline at end of file