diff options
Diffstat (limited to 'src/mscorlib/src/System/IO/FileLoadException.cs')
-rw-r--r-- | src/mscorlib/src/System/IO/FileLoadException.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/IO/FileLoadException.cs b/src/mscorlib/src/System/IO/FileLoadException.cs index 60e5ff0e05..7888bef504 100644 --- a/src/mscorlib/src/System/IO/FileLoadException.cs +++ b/src/mscorlib/src/System/IO/FileLoadException.cs @@ -26,8 +26,10 @@ using SecurityException = System.Security.SecurityException; namespace System.IO { +#if FEATURE_SERIALIZATION [Serializable] -[System.Runtime.InteropServices.ComVisible(true)] +#endif + [System.Runtime.InteropServices.ComVisible(true)] public class FileLoadException : IOException { private String _fileName; // the name of the file we could not load. |