New tests and updates.
[mono.git] / mcs / errors / cs0067.cs
index 0f7d2dea127f449f1d45ca9f9c811d20ca716966..f3cd3ca9cac3dbd996aa22f82815850e5247c555 100644 (file)
@@ -1,4 +1,4 @@
-// cs0067.cs: The event is never used.
+// cs0067: The event `Foo.OnFoo' is never used
 // Line: 12
 // Compiler options: -warnaserror -warn:4
 
@@ -9,7 +9,7 @@ class ErrorCS0067 {
 }
 
 class Foo {
-       public event ErrorCS0067.FooHandler OnFoo;
+       private event ErrorCS0067.FooHandler OnFoo;
        
        public static void Main () {
        }