nini icon indicating copy to clipboard operation
nini copied to clipboard

OrderedList issue

Open bmatzelle opened this issue 11 years ago • 0 comments

After a few tests I found a small bug in your current version in the "OrderedList.cs" file in a public property named "public object this[object key]". In the "set" branch is the following code line:

table[IndexOf(key)] = new DictionaryEntry(key, value);

but I found out it has to be:

list[IndexOf(key)] = new DictionaryEntry(key, value);

because otherwise it never will assign the new value to the ArrayList if you want to set a key via

keys[key] = some_new_value;

bmatzelle avatar Mar 14 '14 12:03 bmatzelle