From 07ab2bd8ddc15da5e8b2e346f2f59b95d1c1a8f9 Mon Sep 17 00:00:00 2001 From: neuecc Date: Tue, 13 Aug 2024 20:32:03 +0900 Subject: [PATCH] impl IReadOnlyList --- .../Internal/NotifyCollectionChangedSynchronizedView.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ObservableCollections/Internal/NotifyCollectionChangedSynchronizedView.cs b/src/ObservableCollections/Internal/NotifyCollectionChangedSynchronizedView.cs index 777f2d1..d28aea7 100644 --- a/src/ObservableCollections/Internal/NotifyCollectionChangedSynchronizedView.cs +++ b/src/ObservableCollections/Internal/NotifyCollectionChangedSynchronizedView.cs @@ -135,7 +135,7 @@ namespace ObservableCollections.Internal internal class ListNotifyCollectionChangedSynchronizedView : NotifyCollectionChangedSynchronizedView - , IList + , IList, IReadOnlyList , IList { readonly ObservableList.View view; @@ -158,7 +158,7 @@ namespace ObservableCollections.Internal set => throw new NotSupportedException(); } - object? IList.this[int index] + object? IList.this[int index] { get {