Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2017-09-06 20:25:49 +0300
committerMarek Safar <marek.safar@gmail.com>2017-09-06 20:25:49 +0300
commiteed24cf38a93e59638405a4c92f610dca02be1ec (patch)
treeab0054cf6cbaf6e5ff13da7b3606a20052363e52
parent85da031fa55d827ac1949bc745c64e6264e406f5 (diff)
Add Serializable back to TempFileCollection
-rw-r--r--src/Common/src/System/IO/TempFileCollection.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Common/src/System/IO/TempFileCollection.cs b/src/Common/src/System/IO/TempFileCollection.cs
index 9f08f69d96..1a5d2ac035 100644
--- a/src/Common/src/System/IO/TempFileCollection.cs
+++ b/src/Common/src/System/IO/TempFileCollection.cs
@@ -15,6 +15,10 @@ namespace System.IO.Internal
// Explicitly not [Serializable], so as to avoid accidentally deleting
// files specified in a serialized payload.
+#if MONO
+ [Serializable]
+#endif
+
#if CODEDOM
public
#else