LQ0001 analyzer warning is confusing
NotAsea opened this issue · comments
Huu Hai commented
This issue raise 2 problems
- for further upvote of #11
and addContains
support, its implementation is justAny
with predicate for compare, orWhere
+FirstOrDefaule
or evenFirstOrDefault(/*predicate*/)
if #11 was implemented - when looking in IDE problem i see
I panick, have to go look it up, watch every thing in my project, only to realize after 15 minutes just your library report, maybe one remove report, two add something likeLinqGen report:
to clear thing more
Huu Hai commented
after playing arround, i realize since Contains
require Type must be IEquatable
but IEquatable
require one type must be struct
or two it must be boxed, which defeat purpose of LinqGen, so after some thought , i will remove Contains
support request as let user mannually handle, but i still upvote #11 and analyzer warning issue