Test for C# Compiler Error CS0067. Event never used.
authorJaime Anguiano Olarra <jaime@mono-cvs.ximian.com>
Mon, 2 Dec 2002 17:25:27 +0000 (17:25 -0000)
committerJaime Anguiano Olarra <jaime@mono-cvs.ximian.com>
Mon, 2 Dec 2002 17:25:27 +0000 (17:25 -0000)
svn path=/trunk/mcs/; revision=9352

mcs/errors/cs0067.cs [new file with mode: 0644]

diff --git a/mcs/errors/cs0067.cs b/mcs/errors/cs0067.cs
new file mode 100644 (file)
index 0000000..8438892
--- /dev/null
@@ -0,0 +1,16 @@
+// cs0067.cs: The event is never used.
+// Line: 11
+
+using System;
+
+class ErrorCS0067 {
+       public delegate void FooHandler ();
+}
+
+class Foo {
+       public event ErrorCS0067.FooHandler OnFoo;
+       
+       public static void Main () {
+       }
+}
+