From bc786755626a5e8b90bc8a1ff9a7cd2e0a4e44fc Mon Sep 17 00:00:00 2001 From: Morgan Brown Date: Tue, 23 May 2017 17:11:24 -0700 Subject: Scale back [Serializable] on CoreCLR types (dotnet/coreclr#11765) Removes SerializableAttribute from CoreCLR types not intended to be serializable as well as adding special handling to MulticastDelegate to prevent serializing delegates (which can't be correctly serialized cross platform/runtime). Signed-off-by: dotnet-bot --- .../shared/System/IO/DirectoryNotFoundException.cs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/System.Private.CoreLib/shared/System/IO/DirectoryNotFoundException.cs') diff --git a/src/System.Private.CoreLib/shared/System/IO/DirectoryNotFoundException.cs b/src/System.Private.CoreLib/shared/System/IO/DirectoryNotFoundException.cs index 786c2106a..04e3791a3 100644 --- a/src/System.Private.CoreLib/shared/System/IO/DirectoryNotFoundException.cs +++ b/src/System.Private.CoreLib/shared/System/IO/DirectoryNotFoundException.cs @@ -12,7 +12,6 @@ namespace System.IO * the Win32 errorcode-as-HRESULT ERROR_PATH_NOT_FOUND (0x80070003) * and STG_E_PATHNOTFOUND (0x80030003). */ - [Serializable] public class DirectoryNotFoundException : IOException { public DirectoryNotFoundException() -- cgit v1.2.3