605192528de1a9c9c95a97bc5a2de7d3c85b322d used UTF8Unmarked for MONOTOUCH
and XAMMAC. However it's initialized differently (than the old UTF8) and
caused unit test regressions in System and System.Net.Http unit tests
This new logic moves the default encoding creation into the products
themselves.
namespace System.Text
{
-internal static class EncodingHelper
+internal static partial class EncodingHelper
{
//
// Only internal, to be used by the class libraries: Unmarked and non-input-validating
[MethodImpl (MethodImplOptions.InternalCall)]
extern internal static string InternalCodePage (ref int code_page);
+#if !(MONOTOUCH || XAMMAC)
internal static Encoding GetDefaultEncoding ()
{
Encoding enc = null;
}
return enc;
}
+#endif
// Loaded copy of the "I18N" assembly. We need to move
// this into a class in "System.Private" eventually.
--- /dev/null
+#include corlib.dll.sources
\ No newline at end of file