impl IReadOnlyList

This commit is contained in:
neuecc 2024-08-13 20:32:03 +09:00
parent fa6a843a49
commit 07ab2bd8dd

View File

@ -135,7 +135,7 @@ namespace ObservableCollections.Internal
internal class ListNotifyCollectionChangedSynchronizedView<T, TView> internal class ListNotifyCollectionChangedSynchronizedView<T, TView>
: NotifyCollectionChangedSynchronizedView<T, TView> : NotifyCollectionChangedSynchronizedView<T, TView>
, IList<TView> , IList<TView>, IReadOnlyList<TView>
, IList , IList
{ {
readonly ObservableList<T>.View<TView> view; readonly ObservableList<T>.View<TView> view;
@ -158,7 +158,7 @@ namespace ObservableCollections.Internal
set => throw new NotSupportedException(); set => throw new NotSupportedException();
} }
object? IList.this[int index] object? IList.this[int index]
{ {
get get
{ {