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