[Mono-bugs] [Bug 75883][Wis] New - mcs fails to accept partial abstract classes when 'abstract' isn't specified in all partial declarations

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 23 09:37:02 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 chastamar at yahoo.com.

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

--- shadow/75883	2005-08-23 09:37:02.000000000 -0400
+++ shadow/75883.tmp.28413	2005-08-23 09:37:02.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 75883
+Product: Mono: Compilers
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: chastamar at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs fails to accept partial abstract classes when 'abstract' isn't specified in all partial declarations
+
+Description of Problem:
+
+mcs does not deal properly with the 'abstract' modifier for partial
+classes. Version 2.0 of the C# standard states:
+"If one or more partial declarations of a class include an abstract
+modifier, the class is considered abstract (§10.1.1.1). Otherwise, the
+class is considered non-abstract." (see
+http://www.ferca.com/c_2.0_specification.html, 23.1.2)
+
+Steps to reproduce the problem:
+1. Try to compile the attached test... (below)
+ 
+Actual Results:
+Failure to compile (Error: CS0262)
+
+Expected Results:
+The program would compile and run.
+
+How often does this happen? 
+All the time.
+
+Additional Information:


More information about the mono-bugs mailing list