开发者

Tool to detect missing disposes

im searching for any tool 开发者_Go百科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.

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


DevExpress CodeRush does this for you:

see this article: Code Issues – Undisposed local

Code Rush home: DevExpress CodeRush

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


The open-source Gendarme tool provides several rules wrt IDisposable.

disclaimer: I'm Gendarme's maintainer.


If you prefer a free utility, FxCop does this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜