[Mono-bugs] [Bug 52505][Wis] New - We report the wrong error for CS0143

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 23 Dec 2003 14:23:33 -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 bmaurer@users.sf.net.

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

--- shadow/52505	2003-12-23 14:23:33.000000000 -0500
+++ shadow/52505.tmp.4599	2003-12-23 14:23:33.000000000 -0500
@@ -0,0 +1,30 @@
+Bug#: 52505
+Product: Mono/Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: We report the wrong error for CS0143
+
+class T {
+	static void Main ()
+	{
+		double d = new double (1);
+	}
+}
+
+CSC:
+t.cs(4,14): error CS0143: The type 'double' has no constructors defined
+
+MCS:
+t.cs(4) error CS0122: `.ctor' is inaccessible due to its protection level