diff options
Diffstat (limited to 'src/mscorlib/src/System/FormatException.cs')
-rw-r--r-- | src/mscorlib/src/System/FormatException.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/FormatException.cs b/src/mscorlib/src/System/FormatException.cs index e526dfd4f7..3fa70df075 100644 --- a/src/mscorlib/src/System/FormatException.cs +++ b/src/mscorlib/src/System/FormatException.cs @@ -15,7 +15,9 @@ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] +#if FEATURE_SERIALIZATION [Serializable] +#endif public class FormatException : SystemException { public FormatException() : base(Environment.GetResourceString("Arg_FormatException")) { |