[Mono-bugs] [Bug 31093][Wis] New - enums/methods and a missing namespace conflict

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
24 Sep 2002 02:11:25 -0000


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 manyoso@yahoo.com.

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

--- shadow/31093	Mon Sep 23 22:11:25 2002
+++ shadow/31093.tmp.31546	Mon Sep 23 22:11:25 2002
@@ -0,0 +1,35 @@
+Bug#: 31093
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: manyoso@yahoo.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: enums/methods and a missing namespace conflict
+
+mcs compiles the following code.  csc gives this error:  
+  
+error CS0102: The class '' already contains a definition for '' 
+  
+using System;  
+  
+public class Test {  
+  
+	enum Foo {blah};  
+  
+	public void Foo ()  
+	{  
+	}  
+	public static void Main (String[] args)  
+	{  
+	}  
+}