MoreLINQ icon indicating copy to clipboard operation
MoreLINQ copied to clipboard

Could we have a morelinq analyzer which recommend best practices ?

Open fforjanAVEVA opened this issue 9 months ago • 1 comments

For Example, see https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0031.md

c1.Count()> 1 can be replace with c1.AtLeast(2), c1.Count() > c2.Count() can be repalce with c1.CompareCount(c2) > 0

Etc...

fforjanAVEVA avatar Apr 16 '25 20:04 fforjanAVEVA

We can if someone is up to the challenge. I don't think it needs be integral to MoreLINQ though. Just from a development and release perspective, I imagine it can be incubated and built separately.

atifaziz avatar Apr 16 '25 21:04 atifaziz