diff --git a/src/ObservableCollections/Internal/NotifyCollectionChangedSynchronizedView.cs b/src/ObservableCollections/Internal/NotifyCollectionChangedSynchronizedView.cs index 38b8e3e..c412b18 100644 --- a/src/ObservableCollections/Internal/NotifyCollectionChangedSynchronizedView.cs +++ b/src/ObservableCollections/Internal/NotifyCollectionChangedSynchronizedView.cs @@ -174,7 +174,7 @@ public TView 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;