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

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 22 Jul 2003 09:30:22 -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 peter@newton.cx.

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

--- shadow/46500	Mon Jul 21 15:12:19 2003
+++ shadow/46500.tmp.1646	Tue Jul 22 09:30:22 2003
@@ -1,12 +1,12 @@
 Bug#: 46500
 Product: Mono/MCS
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEEDINFO   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Misc
 AssignedTo: martin@ximian.com                            
 ReportedBy: peter@newton.cx               
@@ -35,6 +35,29 @@
 ------- Additional Comments From miguel@ximian.com  2003-07-17 01:36 -------
 Martin, this is another namespace issue, can you look at this?
 
 
 ------- Additional Comments From martin@ximian.com  2003-07-21 15:12 -------
 I can't reproduce this, can you please provide a simple testcase ?
+
+------- Additional Comments From peter@newton.cx  2003-07-22 09:30 -------
+Test file:
+
+$ cat tester.cs 
+using System;
+
+namespace Mono.TestCase {
+	public class TestClass {
+		public int Test () {
+			return Math.Abs (-3);
+		}
+	}
+}
+
+$ csc.exe /target:library /r:mcs/class/lib/corlib.dll tester.cs 
+Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
+for Microsoft (R) .NET Framework version 1.1.4322
+Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
+
+tester.cs(6,11): error CS0234: The type or namespace name 'Abs' does
+not exist in the class or namespace 'Mono.Math' (are you missing an
+assembly reference?)