[Mono-bugs] [Bug 75160][Nor] New - Partial classes require file-level compilation order

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jun 5 06:56:41 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 itaibh at hotmail.com.

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

--- shadow/75160	2005-06-05 06:56:41.000000000 -0400
+++ shadow/75160.tmp.18925	2005-06-05 06:56:41.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 75160
+Product: Mono: Compilers
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: itaibh at hotmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Partial classes require file-level compilation order
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+Compilation of couple of files that include partial classes and 
+inheritance requires a certain order of the files.
+
+Steps to reproduce the problem:
+1. Compile the two attached files to a library in a certain file order.
+   (mcs -t:library File1.cs File2.cs)
+2. Compile again in reversed file order.
+   (mcs -t:library File2.cs File1.cs)
+
+Actual Results:
+In one order the library compiles perfectly. In the other order errors 
+occurs (4 sets of CS0246 and CS0182) relating unknown classes and 
+attribute usage.
+
+Expected Results:
+Clean compilation on both orders.
+
+How often does this happen? 
+Constantly, even on gmcs (except that the errors are scarrier on gmcs)
+
+Additional Information:


More information about the mono-bugs mailing list