public void ICollection_NonGeneric_CopyTo_ArrayOfIncorrectKeyValuePairType(int count)
{
ICollection collection = NonGenericICollectionFactory(count);
KeyValuePair<string, int>[] array = new KeyValuePair<string, int>[count * 3 / 2];
Assert.Throws<ArgumentException>(() => collection.CopyTo(array, 0));
}