public void IList_NonGeneric_Remove_NullContainedInCollection(int count)
{
if (!IsReadOnly && !ExpectedFixedSize && NullAllowed && !Enumerable.Contains(InvalidValues, null))
{
int seed = count * 21;
IList collection = NonGenericIListFactory(count);
object value = null;
if (!collection.Contains(value))
{
collection.Add(value);
count++;
}
collection.Remove(value);
Assert.Equal(count - 1, collection.Count);
}
}