[Mono-bugs] [Bug 68987][Nor] New - typename resolution difference between mcs and csc
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 1 Nov 2004 14:15:32 -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 gert.driesen@pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=68987
--- shadow/68987 2004-11-01 14:15:32.000000000 -0500
+++ shadow/68987.tmp.5958 2004-11-01 14:15:32.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 68987
+Product: Mono: Compilers
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gert.driesen@pandora.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: typename resolution difference between mcs and csc
+
+Compiling this code fragment works fine on Mono :
+
+using System;
+
+namespace Mono.System.Test {
+ public class EntryPoint {
+ public static void Main() {
+ object x = System.DBNull.Value;
+ }
+ }
+}
+
+But results in the following compile errors when using csc :
+
+error CS0234: The type or namespace name 'DBNull' does not exist in the
+namespace 'Mono.System' (are you missing an assembly reference?)