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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2013-01-31 18:56:21 +0400
committerMarek Safar <marek.safar@gmail.com>2013-01-31 18:56:21 +0400
commit1c47612b58f7830131d8acc85089e71a73291e5a (patch)
treea6c89c75ad1ae548e31c9c71796a271b5568597e /mcs
parentdb504e59425fc97cb6e6db34cf8f98694d8ae29b (diff)
Mark ObservableCollection.Reentrant serializable
Diffstat (limited to 'mcs')
-rw-r--r--mcs/class/System/System.Collections.ObjectModel/ObservableCollection.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System/System.Collections.ObjectModel/ObservableCollection.cs b/mcs/class/System/System.Collections.ObjectModel/ObservableCollection.cs
index 7f3f812ed6f..33af6dae735 100644
--- a/mcs/class/System/System.Collections.ObjectModel/ObservableCollection.cs
+++ b/mcs/class/System/System.Collections.ObjectModel/ObservableCollection.cs
@@ -39,8 +39,8 @@ namespace System.Collections.ObjectModel
[TypeForwardedFrom (Consts.WindowsBase_3_0)]
#endif
public class ObservableCollection<T> : Collection<T>, INotifyCollectionChanged, INotifyPropertyChanged {
-
- private class Reentrant : IDisposable {
+ [Serializable]
+ sealed class Reentrant : IDisposable {
private int count = 0;
public Reentrant()