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