[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Globalization CompareI
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Globalization CompareInfo.cs, 1.14, 1.15 |
Date: |
Fri, 29 Aug 2003 00:25:00 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Globalization
In directory subversions:/tmp/cvs-serv24176/runtime/System/Globalization
Modified Files:
CompareInfo.cs
Log Message:
Pass all string comparisons through the culture routines; remove the
"InternalCompare" internalcall and replace with a new one for the
invariant culture.
Index: CompareInfo.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Globalization/CompareInfo.cs,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** CompareInfo.cs 1 Jun 2003 09:29:26 -0000 1.14
--- CompareInfo.cs 29 Aug 2003 04:24:57 -0000 1.15
***************
*** 260,267 ****
{
// Use the invariant comparison method
in the engine.
! return String.InternalCompare
(string1, offset1, length1,
string2, offset2, length2,
! ((options &
CompareOptions.IgnoreCase) != 0), null);
}
}
--- 260,267 ----
{
// Use the invariant comparison method
in the engine.
! return String.CompareInternal
(string1, offset1, length1,
string2, offset2, length2,
! ((options &
CompareOptions.IgnoreCase) != 0));
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Globalization CompareInfo.cs, 1.14, 1.15,
Rhys Weatherley <address@hidden> <=