[Mono-bugs] [Bug 77966][Nor] New - [GMCS] incorrect CS0262 when using partial classes

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Mar 31 08:59:22 EST 2006


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=77966

--- shadow/77966	2006-03-31 08:59:22.000000000 -0500
+++ shadow/77966.tmp.15190	2006-03-31 08:59:22.000000000 -0500
@@ -0,0 +1,36 @@
+Bug#: 77966
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: vargaz at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [GMCS] incorrect CS0262 when using partial classes
+
+Testcase:
+<<<<<<<<<<<<<<<<<<<<
+using System;
+
+public partial class ReflectedType {
+}
+
+partial class ReflectedType {
+}
+<<<<<<<<<<<<<<<<<<<<
+
+csc compiles this just fine, while gmcs aborts with:
+
+bug.cs(6,15): error CS0262: Partial declarations of `ReflectedType' have
+conflicting accessibility modifiers
+bug.cs(3,22):: `ReflectedType', name of symbol related to previous error
+
+This bug prevents IronPython beta 5 from compiling with mono.


More information about the mono-bugs mailing list