Bug 311746 (MONO34768) - Missing warning CS3005 - Id. differing only in case
Summary: Missing warning CS3005 - Id. differing only in case
Status: RESOLVED MOVED
Alias: MONO34768
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Linux
: P3 - Medium : Minor
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-29 19:35 UTC by Jaime Anguiano Olarra
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:03:55 UTC


---- Reported by jaimemonkey@yahoo.es 2002-11-29 12:35:26 MST ----

Package: Mono/MCS
Priority: Normal
Version: latest CVS Nov292002
Synopsis: mcs compiles code that should advice of Error CS3005
Bugzilla-Product: Mono/MCS
Bugzilla-Component: Misc

Description:
Description of Problem:

If you compile code that should report CS3005 error, mcs doesn't.

Steps to reproduce the problem:

Use the code below.

This test is currently added in the CVS: 
mcs/errors/cs3005.cs

// cs3005: Identifier foo differing only in case is not CLS-Compliant.
// Line: 13 


using System;

class ErrorCS3005 {
	public int FOO = 0;
	public int foo = 1;

	public static void Main ( ) {
		ErrorCS3005 error = new ErrorCS3005 ();
		Console.WriteLine ("This should make the compiler to complain  ERROR
CS3005, number: {0}", error.foo);
	}
}






Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.





---- Additional Comments From martin@ximian.com 2002-12-07 14:45:20 MST ----

Reassigning to default owner, setting priority to minor according to our priority rules (mcs doesn't report an error message).



---- Additional Comments From martin@ximian.com 2002-12-07 14:48:04 MST ----

Why were all these bugs UNCONFIRMED ?




---- Additional Comments From martin@ximian.com 2002-12-18 13:44:45 MST ----

This'll probably be hard to implement and it'll probably affect 
performance.  The problem is how to find out that two identifiers 
only differ in case - maybe doing a case-insensitive search and if 
that fails doing a case-sensitive search - but that'd make this 
really slow.




---- Additional Comments From bmaurer@users.sf.net 2003-11-19 14:11:36 MST ----



*** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO30285 ***


Unknown bug field "cf_version_details" encountered while moving bug
   <cf_version_details>latest CVS Nov292002</cf_version_details>
This bug was marked DUPLICATE in the database it was moved from.
    Changing resolution to "MOVED"