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...