summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mscorlib/src/System/Text/Encoding.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mscorlib/src/System/Text/Encoding.cs b/src/mscorlib/src/System/Text/Encoding.cs
index 201a760d61..c515dce814 100644
--- a/src/mscorlib/src/System/Text/Encoding.cs
+++ b/src/mscorlib/src/System/Text/Encoding.cs
@@ -413,11 +413,6 @@ namespace System.Text
#endif
public static Encoding GetEncoding(int codepage)
{
-// TODO: Remove the PLATFOM_UNIX specific code in favor of there regular path. Right the regular path causes exceptions to be thrown
-// which hangs the runtime on Unix.
-#if PLATFORM_UNIX
- return UTF8;
-#else
Encoding result = EncodingProvider.GetEncodingFromProvider(codepage);
if (result != null)
return result;
@@ -552,7 +547,6 @@ namespace System.Text
}
return result;
-#endif
}
[Pure]