diff options
author | Morgan Brown <morganbr@users.noreply.github.com> | 2017-05-24 03:11:24 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-05-24 04:16:08 +0300 |
commit | bc786755626a5e8b90bc8a1ff9a7cd2e0a4e44fc (patch) | |
tree | 875d0ec6eae1d6b5596951b872bf8600c9122e8d /src/System.Private.CoreLib/shared/System/IO/DirectoryNotFoundException.cs | |
parent | fe602eda2c5bc93dd2910d785bbf34b5f36903fb (diff) |
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 <dotnet-bot@microsoft.com>
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/IO/DirectoryNotFoundException.cs')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/IO/DirectoryNotFoundException.cs | 1 |
1 files changed, 0 insertions, 1 deletions
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() |