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;