[Mono-bugs] [Bug 52517][Nor] New - mcs doesn't allow conversion of enum in other namespace with alias

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 23 Dec 2003 17:09:45 -0500 (EST)


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 pcgod@gmx.net.

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

--- shadow/52517	2003-12-23 17:09:45.000000000 -0500
+++ shadow/52517.tmp.6984	2003-12-23 17:09:45.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 52517
+Product: Mono/Compilers
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: pcgod@gmx.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs doesn't allow conversion of enum in other namespace with alias
+
+Description of Problem:
+mcs doesn't allow conversion of an enum in another namespace (used with an 
+alias) to converted to another enum type. This works with csc.
+
+Steps to reproduce the problem:
+1. Try to compile both files together.
+
+Actual Results:
+nf-test2.cs(29) error CS0029: Cannot convert implicitly from `T+Mat' to 
+`ABC.BMT'
+
+Expected Results:
+Compile without error.
+
+How often does this happen? 
+Always