[Mono-bugs] [Bug 30712][Maj] New - test-40 in mcs fails to compile.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
19 Sep 2002 21:15:25 -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 miguel@ximian.com.

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

--- shadow/30712	Thu Sep 19 17:15:25 2002
+++ shadow/30712.tmp.31342	Thu Sep 19 17:15:25 2002
@@ -0,0 +1,35 @@
+Bug#: 30712
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Misc
+AssignedTo: martin@gnome.org                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: test-40 in mcs fails to compile.
+
+Something broke test-40:
+
+quack$ mcs test-40.cs
+test-40.cs(10) error CS0122: `myconstant' is inaccessible because of its
+protection level
+Compilation failed: 1 error(s), 0 warnings
+
+This is what CSC reports:
+
+quack$ csc test-40.cs
+Microsoft (R) Visual C# .NET Compiler version 7.00.9466
+for Microsoft (R) .NET Framework version 1.0.3705
+Copyright (C) Microsoft Corporation 2001. All rights reserved.
+
+test-40.cs(47,4): warning CS0162: Unreachable code detected
+test-40.cs(54,5): warning CS0219: The variable 'var' is assigned but its
+value is never used