Bug 311542 (MONO30712) - test-40 in mcs fails to compile.
Summary: test-40 in mcs fails to compile.
Status: RESOLVED MOVED
Alias: MONO30712
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-20 00:15 UTC by Miguel de Icaza
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:01:41 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"