summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/OutOfMemoryException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/OutOfMemoryException.cs')
-rw-r--r--src/mscorlib/src/System/OutOfMemoryException.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/OutOfMemoryException.cs b/src/mscorlib/src/System/OutOfMemoryException.cs
index 154d0f92e2..3bec542077 100644
--- a/src/mscorlib/src/System/OutOfMemoryException.cs
+++ b/src/mscorlib/src/System/OutOfMemoryException.cs
@@ -17,7 +17,6 @@ using System.Runtime.Serialization;
namespace System
{
- [Serializable]
public class OutOfMemoryException : SystemException
{
public OutOfMemoryException()
@@ -40,6 +39,7 @@ namespace System
protected OutOfMemoryException(SerializationInfo info, StreamingContext context) : base(info, context)
{
+ throw new PlatformNotSupportedException();
}
}
}