[Mono-bugs] [Bug 46500][Nor] Changed - CSC namespace error that MCS doesn't catch

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 23 Jul 2003 11:11:46 -0400 (EDT)

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 martin@ximian.com.


--- shadow/46500	Wed Jul 23 10:47:01 2003
+++ shadow/46500.tmp.3860	Wed Jul 23 11:11:46 2003
@@ -1,13 +1,13 @@
 Bug#: 46500
 Product: Mono/MCS
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: REOPENED   
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: Unknown
 Priority: Normal
 Component: Misc
 AssignedTo: martin@ximian.com                            
 ReportedBy: peter@newton.cx               
 QAContact: mono-bugs@ximian.com
@@ -95,6 +95,24 @@
 In the test case above, csc follows the same rule, finds a class (or
 namespace) named Math in the Mono namespace, but it doesn't find
 anything for 'Abs' and errors out. I guess at this point, mcs
 continues the search instead.
+------- Additional Comments From martin@ximian.com  2003-07-23 11:11 -------
+Ok, I had a look at this.
+a) First of all, closing this as NOTABUG was correct.
+   The original testcase was correct and both mcs and csc compiled
+   it without problems.
+b) When you give csc the /r:corlib.dll argument, csc got confused
+   by "something" and failed to compile it.  However, that's not because
+   the testcase is incorrect, but because of a problem in the corlib.dll
+c) Paolo found another, related bug, which explained csc's behavior
+   with corlib.dll.  This other bug is now known as #46792.
+Note: Mono.Math is incorrectly declared `public' in corlib.dll, but
+      it should be marked `internal' instead.  That's just a temporary
+      issue and once that's fixed, csc will compile the original
+      testcase again.
+Bug #46792 still remains, but this one is really NOTABUG.