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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78049 --- shadow/78049 2006-04-08 12:55:40.000000000 -0400 +++ shadow/78049.tmp.14655 2006-04-08 12:55:40.000000000 -0400 @@ -0,0 +1,42 @@ +Bug#: 78049 +Product: Mono: Compilers +Version: unspecified +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: mcs refuses to compile valid C# program + +The following was reported by Jon Jagger: + +This program currently fails to build: + +class Base +{ + public int Property { get { return 42; } } + static void Main () {} +} + +class Derived : Base +{ + new public int get_Property() { return 42; } +} + +It reports: + +ee.cs(9,20): error CS0115: `Derived.get_Property()': no suitable method +found to override +Compilation failed: 1 error(s), 0 warnings + +While it should build the program. + +The details are on 17.2.7 "Reserved member names" _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
