diff --git a/src/ObservableCollections/SynchronizedViewList.cs b/src/ObservableCollections/SynchronizedViewList.cs index 5e4fd7e..0bcbbd2 100644 --- a/src/ObservableCollections/SynchronizedViewList.cs +++ b/src/ObservableCollections/SynchronizedViewList.cs @@ -334,7 +334,7 @@ TView IList.this[int index] static bool IsCompatibleObject(object? value) { - return value is T || value == null && default(T) == null; + return value is TView || value is T || value == null && default(T) == null; } public bool IsReadOnly => true;