impl IReadOnlyList
This commit is contained in:
parent
fa6a843a49
commit
07ab2bd8dd
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user