[corlib] Mark ConcurrentDictionary serializable. Fixes #16730
authorMarek Safar <marek.safar@gmail.com>
Thu, 12 Dec 2013 10:32:00 +0000 (11:32 +0100)
committerMarek Safar <marek.safar@gmail.com>
Thu, 12 Dec 2013 10:32:36 +0000 (11:32 +0100)
mcs/class/corlib/System.Collections.Concurrent/ConcurrentDictionary.cs

index bb8e99f704eba9cef4241772f12297f1e6069c9c..a52ced14f857b6edce920d0e410169fcc22bfcf6 100644 (file)
@@ -35,6 +35,7 @@ namespace System.Collections.Concurrent
 {
        [DebuggerDisplay ("Count={Count}")]
        [DebuggerTypeProxy (typeof (CollectionDebuggerView<,>))]
+       [Serializable]
        public class ConcurrentDictionary<TKey, TValue> : IDictionary<TKey, TValue>,
          ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>,
          IDictionary, ICollection, IEnumerable