From d0dbd836dc6cba01edd6b57546790eb905afca72 Mon Sep 17 00:00:00 2001 From: Jonathan Magnan Date: Thu, 3 Feb 2022 12:22:07 -0500 Subject: [PATCH] Update source --- src/HtmlAgilityPack.Shared/HtmlAttributeCollection.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/HtmlAgilityPack.Shared/HtmlAttributeCollection.cs b/src/HtmlAgilityPack.Shared/HtmlAttributeCollection.cs index 76ea342f..23eadea5 100644 --- a/src/HtmlAgilityPack.Shared/HtmlAttributeCollection.cs +++ b/src/HtmlAgilityPack.Shared/HtmlAttributeCollection.cs @@ -153,7 +153,7 @@ public void AddRange(Dictionary items) /// void ICollection.Clear() { - items.Clear(); + Clear(); } /// @@ -230,7 +230,8 @@ public void Insert(int index, HtmlAttribute item) /// bool ICollection.Remove(HtmlAttribute item) { - return items.Remove(item); + Remove(item); + return true; } ///