From a981b3121f2274f5d15855dc65abf08bf3eb73ed Mon Sep 17 00:00:00 2001 From: neuecc Date: Mon, 2 Sep 2024 19:55:13 +0900 Subject: [PATCH] merge master --- src/ObservableCollections/IObservableCollection.cs | 1 - src/ObservableCollections/SynchronizedViewList.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ObservableCollections/IObservableCollection.cs b/src/ObservableCollections/IObservableCollection.cs index b4cf153..0568de1 100644 --- a/src/ObservableCollections/IObservableCollection.cs +++ b/src/ObservableCollections/IObservableCollection.cs @@ -49,6 +49,5 @@ namespace ObservableCollections public interface INotifyCollectionChangedSynchronizedView : IReadOnlyCollection, INotifyCollectionChanged, INotifyPropertyChanged, IDisposable { - void Refresh(); } } \ No newline at end of file diff --git a/src/ObservableCollections/SynchronizedViewList.cs b/src/ObservableCollections/SynchronizedViewList.cs index ab1b445..fe78868 100644 --- a/src/ObservableCollections/SynchronizedViewList.cs +++ b/src/ObservableCollections/SynchronizedViewList.cs @@ -309,7 +309,7 @@ internal class NotifyCollectionChangedSynchronizedView : static bool IsCompatibleObject(object? value) { - return value is T || value == null && default(T) == null; + return value is TView || value == null && default(TView) == null; } public bool IsReadOnly => true;