diff options
Diffstat (limited to 'src/mscorlib/src/System/IO/PathTooLongException.cs')
-rw-r--r-- | src/mscorlib/src/System/IO/PathTooLongException.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/IO/PathTooLongException.cs b/src/mscorlib/src/System/IO/PathTooLongException.cs index fde4e94d1e..b49b0c962b 100644 --- a/src/mscorlib/src/System/IO/PathTooLongException.cs +++ b/src/mscorlib/src/System/IO/PathTooLongException.cs @@ -19,8 +19,10 @@ using System.Runtime.Serialization; namespace System.IO { +#if FEATURE_SERIALIZATION [Serializable] -[System.Runtime.InteropServices.ComVisible(true)] +#endif + [System.Runtime.InteropServices.ComVisible(true)] public class PathTooLongException : IOException { public PathTooLongException() |