Closed engenb closed 7 years ago
different collection interfaces need to be treated differently for .Contains.
.Contains on IEnumerable and Enumerable is an extension method that has two parameters
ICollection<> / IList<> have a (non-extension) .Contains
IList .Contains performs a Convert on the arg to convert from whatever type to Object
different collection interfaces need to be treated differently for .Contains.
.Contains on IEnumerable and Enumerable is an extension method that has two parameters
ICollection<> / IList<> have a (non-extension) .Contains
IList .Contains performs a Convert on the arg to convert from whatever type to Object