redarrowlabs / Argo

:squirrel: c# object => json.api relational mapping
MIT License
7 stars 3 forks source link

collection proeprties not using proper array contains filter #61

Closed engenb closed 7 years ago

engenb commented 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