diff options
Diffstat (limited to 'src/mscorlib/shared/System/MissingMethodException.cs')
-rw-r--r-- | src/mscorlib/shared/System/MissingMethodException.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/shared/System/MissingMethodException.cs b/src/mscorlib/shared/System/MissingMethodException.cs index 07d428967b..967f434302 100644 --- a/src/mscorlib/shared/System/MissingMethodException.cs +++ b/src/mscorlib/shared/System/MissingMethodException.cs @@ -15,7 +15,6 @@ using System.Runtime.Serialization; namespace System { - [Serializable] public class MissingMethodException : MissingMemberException { public MissingMethodException() @@ -45,6 +44,7 @@ namespace System protected MissingMethodException(SerializationInfo info, StreamingContext context) : base(info, context) { + throw new PlatformNotSupportedException(); } public override string Message |