diff options
Diffstat (limited to 'src/mscorlib/shared/System/IO/PathTooLongException.cs')
-rw-r--r-- | src/mscorlib/shared/System/IO/PathTooLongException.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/shared/System/IO/PathTooLongException.cs b/src/mscorlib/shared/System/IO/PathTooLongException.cs index 613af051ca..64c8e6c7e6 100644 --- a/src/mscorlib/shared/System/IO/PathTooLongException.cs +++ b/src/mscorlib/shared/System/IO/PathTooLongException.cs @@ -8,7 +8,6 @@ using System.Runtime.Serialization; namespace System.IO { - [Serializable] public class PathTooLongException : IOException { public PathTooLongException() @@ -32,6 +31,7 @@ namespace System.IO protected PathTooLongException(SerializationInfo info, StreamingContext context) : base(info, context) { + throw new PlatformNotSupportedException(); } } } |