diff options
author | Neale <neale@sinenomine.net> | 2013-04-18 19:23:35 +0400 |
---|---|---|
committer | Neale <neale@sinenomine.net> | 2013-04-18 19:23:35 +0400 |
commit | 61b6b3f0b6e00afe88583b093fa432b96a6e0b3e (patch) | |
tree | aabad1832715494e1f80e242e84afc3580888db4 /mcs/class/WindowsBase | |
parent | 66c4520fa2e7890b3ccf26f3999c5bc94dd19e27 (diff) |
Reverse patches that should have gone to my fork rather than to head
Diffstat (limited to 'mcs/class/WindowsBase')
-rw-r--r-- | mcs/class/WindowsBase/System.Collections.ObjectModel/ObservableCollection.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mcs/class/WindowsBase/System.Collections.ObjectModel/ObservableCollection.cs b/mcs/class/WindowsBase/System.Collections.ObjectModel/ObservableCollection.cs index bcc4440e109..1ea166cd9ac 100644 --- a/mcs/class/WindowsBase/System.Collections.ObjectModel/ObservableCollection.cs +++ b/mcs/class/WindowsBase/System.Collections.ObjectModel/ObservableCollection.cs @@ -44,7 +44,7 @@ namespace System.Collections.ObjectModel public class ObservableCollection<T> : Collection<T>, INotifyCollectionChanged, INotifyPropertyChanged { private class Reentrant : IDisposable { - private int _busyCount = 0; + private int count = 0; public Reentrant() { @@ -52,17 +52,17 @@ namespace System.Collections.ObjectModel public void Enter() { - _busyCount++; + count++; } public void Dispose() { - _busyCount--; + count--; } public bool Busy { - get { return _busyCount > 0; } + get { return count > 0; } } } |