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

Make the locker as readonly
This commit is contained in:
NaBian 2020-06-20 18:57:17 +08:00 committed by GitHub
commit c272cdf543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";