InsertItemsRange API now checks if the underlying items.IsReadOnly first then collect...
authorAndrew Hoefling <andrew@hoeflingsoftware.com>
Wed, 6 Mar 2019 17:57:09 +0000 (12:57 -0500)
committerSantiago Fernandez Madero <safern@microsoft.com>
Fri, 8 Mar 2019 19:20:58 +0000 (11:20 -0800)
commit34e8e50bca3a75e5c0c77665c3225a5ca5da4aff
tree06f1930cfaa312b9a6b8d2fa1ab74b1aa2f058db
parent57ff226a7b46296f1d7019f2dc06f82249e33db9
InsertItemsRange API now checks if the underlying items.IsReadOnly first then collection == null

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