Bugzilla – Bug 311542
test-40 in mcs fails to compile.
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by miguel@ximian.com 2002-09-19 17:15:25 MST ---- 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 ---- Additional Comments From martin@gnome.org 2002-09-19 17:41:04 MST ---- This is either not a bug at all (can't reproduce it here) or a duplicate of that bug. *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO30080 *** ---- Additional Comments From miguel@ximian.com 2002-09-19 17:42:01 MST ---- Ok, but keep in mind that this is part of the regression test suite. CSC compiles it, but MCS can not compile it. ---- Additional Comments From miguel@ximian.com 2002-09-19 17:50:23 MST ---- Ok, this only fails with MCS running on the .NET runtime. ---- Additional Comments From martin@gnome.org 2002-09-19 17:55:52 MST ---- Unfortunately, this works fine on the ms runtime for me :-( Unknown operating system other. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"