merge master

This commit is contained in:
neuecc 2024-09-02 19:55:13 +09:00
parent 591163e844
commit a981b3121f
2 changed files with 1 additions and 2 deletions

View File

@ -49,6 +49,5 @@ namespace ObservableCollections
public interface INotifyCollectionChangedSynchronizedView<out TView> : IReadOnlyCollection<TView>, INotifyCollectionChanged, INotifyPropertyChanged, IDisposable public interface INotifyCollectionChangedSynchronizedView<out TView> : IReadOnlyCollection<TView>, INotifyCollectionChanged, INotifyPropertyChanged, IDisposable
{ {
void Refresh();
} }
} }

View File

@ -309,7 +309,7 @@ internal class NotifyCollectionChangedSynchronizedView<T, TView> :
static bool IsCompatibleObject(object? value) 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; public bool IsReadOnly => true;