summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Threading/ThreadInterruptedException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Threading/ThreadInterruptedException.cs')
-rw-r--r--src/mscorlib/src/System/Threading/ThreadInterruptedException.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/Threading/ThreadInterruptedException.cs b/src/mscorlib/src/System/Threading/ThreadInterruptedException.cs
index 9122df0d3e..fb72110fdc 100644
--- a/src/mscorlib/src/System/Threading/ThreadInterruptedException.cs
+++ b/src/mscorlib/src/System/Threading/ThreadInterruptedException.cs
@@ -19,7 +19,6 @@ using System.Runtime.Serialization;
namespace System.Threading
{
- [Serializable]
public class ThreadInterruptedException : SystemException
{
public ThreadInterruptedException()
@@ -42,6 +41,7 @@ namespace System.Threading
protected ThreadInterruptedException(SerializationInfo info, StreamingContext context) : base(info, context)
{
+ throw new PlatformNotSupportedException();
}
}
}