[Mono-devel-list] Patch for ToUpper/ToLower
Robert Shade
rshade at dvsconsulting.com
Fri Apr 23 18:07:50 EDT 2004
According to the documentation, String.ToUpper/ToLower and
Char.ToUpper/ToLower should throw an ArgumentNullException if the
CultureInfo argument is null. Attached is a patch to do just that. My
only question is if it would have been better to use
MONO_CHECK_ARG_NULL from object.h. I wasn't sure if that would abort
the current function or not. If if MONO_CHECK_ARG_NULL would be
preferred, I can resubmit. Either way I would need someone to commit
this for me as I don't have CVS access.
Thanks.
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cultureinfonull.diff
Type: application/octet-stream
Size: 3248 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040423/c393de82/attachment.obj
More information about the Mono-devel-list
mailing list