[Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 andmodifysome Encoding wrappers
Atsushi Eno
atsushi at ximian.com
Thu Apr 13 02:52:12 EDT 2006
Hi,
Kornél Pál wrote:
> For new byte[1]:
>
> The following code for example (and other methods with empy output
> buffer) has to throw ArgumentException (not IndexOutOfRangeException
> that &bytes[0] throws):
>
> Encoding e = Encoding.GetEncoding(1252);
> e.GetBytes(new char[] {'a'}, 0, 1, new byte[] {}, 0);
Does this really differentiate results? I got ArgumentException
from (unpatched) svn.
(BTW that's why we need NUnit tests as well.)
Atsushi Eno
More information about the Mono-devel-list
mailing list