-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
* string-icalls.c : String does now passes unit tests without any errors, the following changes has been made: Implemented replace methods. Renaming of methods to (try) follow the standard. Fixed compare ordinal Made all memory allocated directly to function instead of via icall function. Small performance fix in is_in_array function (2002-04-23) Changes from Duncan Mak <duncan@ximian.com> c (mono_string_Internal_ctor_charp_int_int): (mono_string_Internal_ctor_sbytep_int_int): Removed check for sindex < 0, throw ArgumentOutOfRangeException instead of ArgumentNullException. Added new check for length == 0, however I need to make it return String.Empty from the C code. (mono_string_Internal_ctor_sbytep): Use mono_string_new, and let that calculate the length for us here. (mono_string_Internal_ctor_sbytep_int_int): Replaced mono_string_new_utf16 with mono_string_new, since value is utf8. svn path=/trunk/mono/; revision=4029
- Loading branch information
Patrik Torstensson
committed
Apr 24, 2002
1 parent
b999b9c
commit e5016b7
Showing
4 changed files
with
253 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.