[Mono-bugs] [Bug 30485][Min] New - using-alias directive not handled correctly

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
17 Sep 2002 19:24:37 -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 vargaz@freemail.hu.

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

--- shadow/30485	Tue Sep 17 15:24:37 2002
+++ shadow/30485.tmp.8525	Tue Sep 17 15:24:37 2002
@@ -0,0 +1,22 @@
+Bug#: 30485
+Product: Mono/MCS
+Version: unspecified
+OS: Debian Woody
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: vargaz@freemail.hu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: using-alias directive not handled correctly
+
+The attached testcase compiles with csc, but not with mcs. The problem is that
+mcs resolves the 'System2' reference to the 'Foo.System' class, not to the
+'System' namespace. After taking a look at the C# spec (section 16.3.1), I
+ believe the behavior of csc is correct.