[Mono-bugs] [Bug 52496][Wis] Changed - We do not report CS0068 well

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 23 Dec 2003 13:47:50 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bmaurer@users.sf.net.

http://bugzilla.ximian.com/show_bug.cgi?id=52496

--- shadow/52496	2003-12-23 13:43:02.000000000 -0500
+++ shadow/52496.tmp.4046	2003-12-23 13:47:50.000000000 -0500
@@ -67,6 +67,32 @@
 instance of an obj
 ect.
    at Mono.CSharp.Interface.AddEvent(InterfaceEvent ievent)
    at Mono.CSharp.CSharpParser.yyparse(yyInput yyLex)
    at Mono.CSharp.CSharpParser.parse()
 t.cs(3) error CS8025: Parsing error
+
+------- Additional Comments From bmaurer@users.sf.net  2003-12-23 13:47 -------
+We do not report CS0071
+using System;
+
+interface IBlah
+{
+	event Delegate Foo;
+}
+
+class Test : IBlah {
+	event MyEvent ITest.Foo;
+
+	public static void Main ()
+	{
+	}
+}
+
+CSC:
+t.cs(9,21): error CS0071: An explicit interface implementation of an 
+event must
+        use property syntax
+
+We give a parser error.
+
+