[Mono-bugs] [Bug 81803][Nor] New - virtual method in a base class is not recognized for an override

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jun 4 14:03:07 EDT 2007

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 atsushi at ximian.com.


--- shadow/81803	2007-06-04 14:03:07.000000000 -0400
+++ shadow/81803.tmp.13266	2007-06-04 14:03:07.000000000 -0400
@@ -0,0 +1,48 @@
+Bug#: 81803
+Product: Mono: Compilers
+Version: 1.0
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: atsushi at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: virtual method in a base class is not recognized for an override
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+There is a disable code in
+line 85 (at r78561) due to an issue explained here.
+When I enabled the commented code:
+System.Configuration\CustomizableFileSettingsProvider.cs(87,38): error
+System.Collections.Specialized.NameValueCollection)' is marked as an
+override but no suitable method found to override
+This "CustomizableLocalFileSettingsProvider" is derived from
+SettingsProvider (in System.dll), whose base class is ProviderBase (in
+System.Configuration.dll), which has a method "public virtual void
+Initialize (string, NameValueCollection). Hence this overload should be fine.
+(Confirmed that I have System.Configuration.Provider.ProviderBase with
+Initialize() in mcs/class/lib/net_2_0/System.Configuration.dll.)
+This blocks LocalFileSettingsProvider implementation in practice.
+Additional Information:
+It might be a build issue, but I doubt that.

More information about the mono-bugs mailing list