我是新手,我想要一个cqlinq规则来查找所有未记录的方法。这是我当前的查询,但没有文档记录的属性。
from m in Application.Methods
.Where(m => !m.IsGeneratedByCompiler && m.Visibility == Visibility.Private && m.??Documentation?? == false)
select new { m, m.Visibility }有什么想法吗?新年快乐..。:-)
发布于 2021-01-06 17:04:58
下面的代码查询怎么样?
from m in JustMyCode.Methods
where m.IsPrivate
&& m.NbLinesOfCode > 5 // Adjust to your needs
&& m.NbLinesOfComment == 0
select new { m, m.NbLinesOfCode }

https://stackoverflow.com/questions/65578332
复制相似问题