From ab077ebd3c0f3a54705feab0db415f89047bf3c8 Mon Sep 17 00:00:00 2001 From: prozolic <42107886+prozolic@users.noreply.github.com> Date: Sat, 22 Jul 2023 20:23:40 +0900 Subject: [PATCH] Remove unnecessary processing --- src/ObservableCollections/ObservableList.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ObservableCollections/ObservableList.cs b/src/ObservableCollections/ObservableList.cs index b14a64b..cc024c4 100644 --- a/src/ObservableCollections/ObservableList.cs +++ b/src/ObservableCollections/ObservableList.cs @@ -113,7 +113,6 @@ public void AddRange(ReadOnlySpan items) public void Clear() { - var l = new List(); lock (SyncRoot) { list.Clear();