summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Delegate.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Delegate.cs')
-rw-r--r--src/mscorlib/src/System/Delegate.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mscorlib/src/System/Delegate.cs b/src/mscorlib/src/System/Delegate.cs
index 75ec57a003..8a9763694b 100644
--- a/src/mscorlib/src/System/Delegate.cs
+++ b/src/mscorlib/src/System/Delegate.cs
@@ -15,7 +15,6 @@ namespace System
using System.Diagnostics;
using System.Diagnostics.Contracts;
- [Serializable]
[ClassInterface(ClassInterfaceType.AutoDual)]
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class Delegate : ICloneable, ISerializable
@@ -545,8 +544,9 @@ namespace System
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
{
- throw new NotSupportedException();
+ throw new PlatformNotSupportedException();
}
+
//
// internal implementation details (FCALLS and utilities)
//