public void IList_NonGeneric_Add_Null(int count) { if (NullAllowed && !IsReadOnly && !ExpectedFixedSize) { IList collection = NonGenericIListFactory(count); collection.Add(null); Assert.Equal(count + 1, collection.Count); } }