Merge pull request #413 from dotnet-campus/t/lindexi/FanerehaykeebawRagijujaw

Make the locker as readonly
This commit is contained in:
NaBian authored and GitHub committed 2020-06-20 18:57:17 +08:00
commit c272cdf543
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";