diff options
Diffstat (limited to 'src/mscorlib/src/System/PlatformNotSupportedException.cs')
-rw-r--r-- | src/mscorlib/src/System/PlatformNotSupportedException.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/PlatformNotSupportedException.cs b/src/mscorlib/src/System/PlatformNotSupportedException.cs index f8afb416a1..1ab7f155d1 100644 --- a/src/mscorlib/src/System/PlatformNotSupportedException.cs +++ b/src/mscorlib/src/System/PlatformNotSupportedException.cs @@ -16,8 +16,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 PlatformNotSupportedException : NotSupportedException { public PlatformNotSupportedException() |