工具来检测缺少的处置 [英] Tool to detect missing disposes

查看:206
本文介绍了工具来检测缺少的处置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即时搜索,可以检测对类进行数据访问和文件操作任何遗漏处置呼叫任何工具。如果它检查另一个性能问题,这将是很好的。

im searching for any tool that can detect any missing dispose calls on classes that do data access and file operations. And if it checks another performance issues it will be nice.

顺便说一句,我需要在code运行该工具,而不是在执行。谢谢!

BTW, i need to run the tool over the code, not on the execution. Thanks!

推荐答案

DevEx preSS $ C $美眉可以实现这个要求:

DevExpress CodeRush does this for you:

看到这篇文章: code问题 - 当地未予

code赶回家: DevEx preSS $ C $美眉

我已经使用这个工具的EX preSS版本,我个人喜欢它比ReSharper的多。

I have used the express version of this tool and personally I like it more than ReSharper.

这篇关于工具来检测缺少的处置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆