Motivation
I have been using CollectionAssert for quite some time but when I want to check whether the contents of a ReadOnlyCollection<T> match my expectation a cannot use CollectionAssert because many generic collection interfaces do not inherit from ICollection.
Proposal
Add new generic overloads of all methods to take IReadOnlyCollection<T> or IEnumerable<T> instead of ICollection.
AB#2112229
Motivation
I have been using
CollectionAssertfor quite some time but when I want to check whether the contents of aReadOnlyCollection<T>match my expectation a cannot useCollectionAssertbecause many generic collection interfaces do not inherit fromICollection.Proposal
Add new generic overloads of all methods to take
IReadOnlyCollection<T>orIEnumerable<T>instead ofICollection.AB#2112229