summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/IO/DirectoryNotFoundException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/IO/DirectoryNotFoundException.cs')
-rw-r--r--src/mscorlib/src/System/IO/DirectoryNotFoundException.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/IO/DirectoryNotFoundException.cs b/src/mscorlib/src/System/IO/DirectoryNotFoundException.cs
index 09d7e7d4e7..3fe9eee315 100644
--- a/src/mscorlib/src/System/IO/DirectoryNotFoundException.cs
+++ b/src/mscorlib/src/System/IO/DirectoryNotFoundException.cs
@@ -22,7 +22,9 @@ namespace System.IO {
* the Win32 errorcode-as-HRESULT ERROR_PATH_NOT_FOUND (0x80070003)
* and STG_E_PATHNOTFOUND (0x80030003).
*/
+#if FEATURE_SERIALIZATION
[Serializable]
+#endif
[System.Runtime.InteropServices.ComVisible(true)]
public class DirectoryNotFoundException : IOException {
public DirectoryNotFoundException()