This commit is contained in:
hadashiA 2024-02-02 16:25:48 +09:00
parent b848a80a61
commit b3ac75e101
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ namespace ObservableCollections.Internal
public event Action<NotifyCollectionChangedAction> CollectionStateChanged;
public event NotifyCollectionChangedEventHandler<T> RoutingCollectionChanged;
public object SyncRoot { get; } = new();
public object SyncRoot { get; } = new object();
public FreezedSortableView(IEnumerable<T> source, Func<T, TView> selector)
{

View File

@ -114,7 +114,7 @@ namespace ObservableCollections.Internal
public event Action<NotifyCollectionChangedAction>? CollectionStateChanged;
public event NotifyCollectionChangedEventHandler<T>? RoutingCollectionChanged;
public object SyncRoot { get; } = new();
public object SyncRoot { get; } = new object();
public FreezedSortableView(IEnumerable<T> source, Func<T, TView> selector)
{