-// cs0067.cs: The event is never used.
-// Line: 11
+// cs0067: The event `Foo.OnFoo' is never used
+// Line: 12
+// Compiler options: -warnaserror -warn:4
using System;
}
class Foo {
- public event ErrorCS0067.FooHandler OnFoo;
+ private event ErrorCS0067.FooHandler OnFoo;
public static void Main () {
}