Merge pull request #413 from dotnet-campus/t/lindexi/FanerehaykeebawRagijujaw
Make the locker as readonly
This commit is contained in:
1 file changed
+1
-1
@@ -9,7 +9,7 @@ namespace HandyControl.Collections
|
|||||||
[Serializable]
|
[Serializable]
|
||||||
public class ManualObservableCollection<T> : Collection<T>, INotifyCollectionChanged, INotifyPropertyChanged
|
public class ManualObservableCollection<T> : Collection<T>, INotifyCollectionChanged, INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
private SimpleMonitor _monitor = new SimpleMonitor();
|
private readonly SimpleMonitor _monitor = new SimpleMonitor();
|
||||||
|
|
||||||
private const string CountString = "Count";
|
private const string CountString = "Count";
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user