Optimized RemoveItemsRange to call the list.RemoveRange if the items is of type List<T>
authorAndrew Hoefling <andrew@hoeflingsoftware.com>
Thu, 7 Mar 2019 23:08:22 +0000 (18:08 -0500)
committerSantiago Fernandez Madero <safern@microsoft.com>
Fri, 8 Mar 2019 19:20:58 +0000 (11:20 -0800)
commit861dd5e6a584a2c1c2743ddfd20d695cf2b250cc
treef87a5852b3410cb480e86da2ac562ea99446a3ed
parent889a60085c863fc4fc79ff168bf76f216e503502
Optimized RemoveItemsRange to call the list.RemoveRange if the items is of type List<T>

Commit migrated from https://github.com/dotnet/coreclr/commit/d29c78bbbcb033f7d189bcc162e580176160a1c9
src/libraries/System.Private.CoreLib/src/System/Collections/ObjectModel/Collection.cs