[Mono-bugs] [Bug 40970][Nor] New - Error compiling a protected virtual method

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 8 Apr 2003 19:23:01 -0400 (EDT)


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 gonzalo@ximian.com.

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

--- shadow/40970	Tue Apr  8 19:23:01 2003
+++ shadow/40970.tmp.11032	Tue Apr  8 19:23:01 2003
@@ -0,0 +1,38 @@
+Bug#: 40970
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gonzalo@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Error compiling a protected virtual method
+
+mcs fails compiling tabcontrol2.cs in xsp module.
+
+The problem is that the signature generated for a protected virtual method
+(System.Web.UI.Control::AddParsedSubObject) does not include the
+'hidebysig' modifier.
+
+
+gpanjav@lalo2:~/go-mono/xsp/test$ mcs /r:System.Web.dll /target:library
+tabcontrol2.cs
+tabcontrol2.cs(112) error CS0115: `Mono.Controls.Tabs2.AddParsedSubObject'
+no suitable methods found to override
+Compilation failed: 1 error(s), 0 warnings
+
+
+Additional Information:
+Mono.Controls.Tabs2 derives from System.Web.UI.UserControl, which derives
+from TemplateControl, which derives from Control (which has that method as
+protected virtual).
+
+It used to compile.