[Mono-bugs] [Bug 76629][Cri] New - "newslot abstract virtual" should be treated equal to non-virtual

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Nov 4 05:26:13 EST 2005

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 kornelpal at hotmail.com.


--- shadow/76629	2005-11-04 05:26:13.000000000 -0500
+++ shadow/76629.tmp.30296	2005-11-04 05:26:13.000000000 -0500
@@ -0,0 +1,35 @@
+Bug#: 76629
+Product: Mono: Compilers
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Critical
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: kornelpal at hotmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: "newslot abstract virtual" should be treated equal to non-virtual
+MS csc.exe emits "call" for "newslot virtual final" methods while mcs 
+emits "callvirt" for "newslot virtual final".
+This difference is important as when the signature of the called method 
+is changed later to be virtual and is overriden code emitted by MS 
+csc.exe will still behave the same as it calls the same method but code 
+emitted by mcs will call the method that overrides the original one that 
+will result in different behavior.
+This difference is important when having non-virtual public methods that 
+implement interface methods (default behavior when their name and 
+signature match) as these non-virtual methods are emitted as "newslot 
+virtual final".
+This fix is requred to can corcompare safely treat non-virtual 
+and "newslot virtual final" as equal and thus this bug affects MS.NET 
+compatibility of our entire class library so I mark this bug as critical.

More information about the mono-bugs mailing list