[Mono-bugs] [Bug 73417][Nor] Changed - String sorting incorrect

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri May 18 15:10:00 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by benoit at zeroc.com.

http://bugzilla.ximian.com/show_bug.cgi?id=73417

--- shadow/73417	2005-09-27 07:04:53.000000000 -0400
+++ shadow/73417.tmp.26995	2007-05-18 15:10:00.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 73417
 Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: XP
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: atsushi at ximian.com                            
 ReportedBy: michi at zeroc.com               
 QAContact: mono-bugs at ximian.com
@@ -187,6 +187,80 @@
 does not check if characters are sorted in this order: c->C->d->D but
 might allow abc...z->ABC...Z
 
 
 ------- Additional Comments From atsushi at ximian.com  2005-09-27 07:04 -------
 Now managed collation is default, so this is fixed in svn.
+
+------- Additional Comments From benoit at zeroc.com  2007-05-18 15:10 -------
+Although different from the order Michi mentioned in his first comment, I'm still getting 
+different sort order between Mono (v1.2.3 on Mac OS X)  and Visual C# 2005 Express when 
+sorting the array of string with the "System.Collections.Comparer.DefaultInvariant" 
+comparer.
+
+With Mono the result of the sort (of the array in the first comment of this bug) is:
+----
+dictionaryTest
+D1AsB
+D1AsD1
+D2AsB
+ice_id
+ice_ids
+ice_isA
+ice_ping
+oneElementCycle
+paramTest1
+paramTest2
+paramTest3
+paramTest4
+returnTest1
+returnTest2
+returnTest3
+sequenceTest
+shutdown
+SBaseAsObject
+SBaseAsSBase
+SBSKnownDerivedAsSBase
+SBSKnownDerivedAsSBSKnownDerived
+SBSUnknownDerivedAsSBase
+SUnknownAsObject
+throwBaseAsBase
+throwDerivedAsBase
+throwDerivedAsDerived
+throwUnknownDerivedAsBase
+twoElementCycle
+useForward
+---
+
+With Visual C# .NET 2.0, I'm getting:
+---
+D1AsB
+D1AsD1
+D2AsB
+dictionaryTest
+ice_id
+ice_ids
+ice_isA
+ice_ping
+oneElementCycle
+paramTest1
+paramTest2
+paramTest3
+paramTest4
+returnTest1
+returnTest2
+returnTest3
+SBaseAsObject
+SBaseAsSBase
+SBSKnownDerivedAsSBase
+SBSKnownDerivedAsSBSKnownDerived
+SBSUnknownDerivedAsSBase
+sequenceTest
+shutdown
+SUnknownAsObject
+throwBaseAsBase
+throwDerivedAsBase
+throwDerivedAsDerived
+throwUnknownDerivedAsBase
+twoElementCycle
+useForward
+---


More information about the mono-bugs mailing list