Make the locker as readonly

This commit is contained in:
lindexi committed 2020-06-20 16:43:53 +08:00
1 parent 3a307c3f42
commit 8e000159e7
1 file changed
+1 -1
@@ -9,7 +9,7 @@ namespace HandyControl.Collections
[Serializable]
public class ManualObservableCollection<T> : Collection<T>, INotifyCollectionChanged, INotifyPropertyChanged
{
private SimpleMonitor _monitor = new SimpleMonitor();
private readonly SimpleMonitor _monitor = new SimpleMonitor();
private const string CountString = "Count";