[Mono-bugs] [Bug 76585][Min] Changed - MethodBase.IsFinal does not seem to return expected value

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Oct 28 22:03:14 EDT 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 vargaz at gmail.com.

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

--- shadow/76585	2005-10-28 16:56:54.000000000 -0400
+++ shadow/76585.tmp.31258	2005-10-28 22:03:14.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 76585
 Product: Mono: Runtime
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Minor
 Component: misc
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: atsushi at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -50,6 +50,11 @@
 that IsVirtual is true. For a method to be overridable, IsVirtual must be
 true and IsFinal must be false. For example, a method might be non-virtual,
 but it implements an interface method. The common language runtime requires
 that all methods that implement interface members must be marked as
 virtual; therefore, the compiler marks the method virtualfinal. So there
 are cases where a method is marked as virtual but is still not overridable."
+
+------- Additional Comments From vargaz at gmail.com  2005-10-28 22:03 -------
+Looking at the IL for CodeNamespaceImportCollection::Clear, it is marked
+as final, so the runtime rightfully returns true in this case.
+


More information about the mono-bugs mailing list