Bugzilla – Bug 311746
Missing warning CS3005 - Id. differing only in case
Last modified: 2007-09-15 21:24:23 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"