如何配置resharper来警告使用/一次性语句?
一个例子;
using (WebClient webClient = new WebClient())
{
webClient.DownloadData("www.google.com");
}
到
custom:
pkg.installed:
- sources:
- custom_repo: http://yum.custom.com/custom_repo.noarch.rpm
- require:
- pkg: epel
cmd.run:
- name: rpm --import http://yum.custom.com/RPM-GPG-KEY
- onchanges:
- pkg: custom
也许分析工具会检查该类是否实现了 System.IDisposable 。是否有任何设置或插件/扩展名?