[Mono-dev] [PATCH] System.Text.Encoding.GetEncoding compatibility fixes
gert.driesen at telenet.be
Wed Jan 31 16:52:05 EST 2007
The attached patch fixes some minor differences between our and MS'
* GetEncoding (int): do not allow codepage value below zero
and above 0xffff.
* GetEncoding (string): modified NotSupportedException to
ArgumentException when encoding is not supported
Both changes are covered by unit tests.
Let me know if it's ok to commit.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6053 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070131/5531986b/attachment.bin
More information about the Mono-devel-list