[Mono-bugs] [Bug 75636][Maj] Changed - mcs incorrectly handes
hide-by-name virtual methods not marked with newslot
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Jan 9 10:22:28 EST 2006
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 rharinath at novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75636
--- shadow/75636 2006-01-06 08:20:21.000000000 -0500
+++ shadow/75636.tmp.27839 2006-01-09 10:22:28.000000000 -0500
@@ -1,17 +1,17 @@
Bug#: 75636
-Product: Mono: Class Libraries
+Product: Mono: Compilers
Version: 1.1
OS: unknown
OS Details: Mandriva Cooker i586
Status: NEW
Resolution:
Severity: Unknown
Priority: Major
-Component: CORLIB
-AssignedTo: mono-bugs at ximian.com
+Component: C#
+AssignedTo: rharinath at novell.com
ReportedBy: goetz.waschk at gmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
Summary: mcs incorrectly handes hide-by-name virtual methods not marked with newslot
@@ -265,6 +265,18 @@
Where, it should print
Bar
Bar
Bar
+
+------- Additional Comments From rharinath at novell.com 2006-01-09 10:22 -------
+As usual, I acted without thinking it through -- I followed Zoltan's
+quick guess without double-checking. I even had a test program, that
+I didn't think of actually testing on .NET :-(
+
+It seems that this has got nothing to do with hide-by-name semantics
+(which the runtime seems to get right). It has got to do with
+changing the visibility of overridden methods, which is not allowed in C#.
+
+I have a fix that I'm putting through the paces, and should commit
+shortly.
More information about the mono-bugs
mailing list