bugDotGNU Portable.NET - Bugs: bug #9753, StringDictionary should convert...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9753: StringDictionary should convert all keys to lowercase

Submitter:  Marcus Urban <mathpup>
Submitted:  Sun 25 Jul 2004 06:42:10 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Sun 08 Aug 2004 08:10:00 AM UTC, comment #1: 

Patch #3229 has been committed to CVS

Gopal.V <t3rmin4t0r>
Group administrator
Sun 25 Jul 2004 06:42:10 AM UTC, original submission:  

The StringDictionary class in System.Collections.Specialized should convert all keys (but not values) to lowercase before they are used to store, retrieve, remove, etc.

In the current implementation, the test program produces the output:

(Apple, Fruit)
(Tomato, Vegetable)
False
True
False
True

whereas under Rotor it produces the output:

(tomato, Vegetable)
(apple, Fruit)
True
True
False
True

(The difference in order produced by the enumerator is normal, I believe.)

Marcus Urban <mathpup>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #1589:  dict.cs added by mathpup (575B - text/x-csharp - Test case)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-08-08 t3rmin4t0r StatusNone Fixed
    Open/ClosedOpen Closed
2004-07-25 mathpup Attached File- Added dict.cs, #1522

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code