summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Text/DecoderExceptionFallback.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Text/DecoderExceptionFallback.cs')
-rw-r--r--src/mscorlib/src/System/Text/DecoderExceptionFallback.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mscorlib/src/System/Text/DecoderExceptionFallback.cs b/src/mscorlib/src/System/Text/DecoderExceptionFallback.cs
index b98ef74ed2..7a8db572d0 100644
--- a/src/mscorlib/src/System/Text/DecoderExceptionFallback.cs
+++ b/src/mscorlib/src/System/Text/DecoderExceptionFallback.cs
@@ -8,7 +8,6 @@ using System.Globalization;
namespace System.Text
{
- [Serializable]
public sealed class DecoderExceptionFallback : DecoderFallback
{
// Construction
@@ -99,7 +98,6 @@ namespace System.Text
}
// Exception for decoding unknown byte sequences.
- [Serializable]
public sealed class DecoderFallbackException : ArgumentException
{
private byte[] bytesUnknown = null;
@@ -125,6 +123,7 @@ namespace System.Text
internal DecoderFallbackException(SerializationInfo info, StreamingContext context) : base(info, context)
{
+ throw new PlatformNotSupportedException();
}
public DecoderFallbackException(