[Mono-bugs] [Bug 36171][Min] New - mcs does not complain when a using-directive refers to a non-existent namespace
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
30 Dec 2002 00:30:09 -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 mathpup@mylinuxisp.com.
http://bugzilla.ximian.com/show_bug.cgi?id=36171
--- shadow/36171 Sun Dec 29 19:30:09 2002
+++ shadow/36171.tmp.5151 Sun Dec 29 19:30:09 2002
@@ -0,0 +1,45 @@
+Bug#: 36171
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: mathpup@mylinuxisp.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mcs does not complain when a using-directive refers to a non-existent namespace
+
+Description of Problem:
+
+mcs does not complain when a using-directive refers to a non-existent namespace.
+Instead, mcs silently ignores the using-directive, which would not be a problem
+except that csc does flag an error here.
+
+Steps to reproduce the problem:
+1. Compile the test case: mcs namespace3.cs
+
+
+Actual Results:
+
+Compilation succeeded
+
+Expected Results:
+
+namespace3.cs(1,7): error CS0246: The type or namespace name
+'SomeNamespaceThatDoesNotExist' could not be found (are you missing a using
+directive or an assembly reference?)
+
+
+How often does this happen?
+
+Always
+
+
+Additional Information: