public void IList_NonGeneric_Remove_EveryValue(int count)
{
if (!IsReadOnly && !ExpectedFixedSize)
{
IList collection = NonGenericIListFactory(count);
object[] arr = new object[count];
collection.CopyTo(arr, 0);
Assert.All(arr, value =>
{
collection.Remove(value);
});
Assert.Empty(collection);
}
}