开发者

Visual Studio: Code analyzer to determine what exceptions a method can throw?

开发者 https://www.devze.com 2023-01-28 05:55 出处:网络
One nice thing about Java, which was also a curse, is that you always knew what exceptions a method could throw.

One nice thing about Java, which was also a curse, is that you always knew what exceptions a method could throw.

Is there a static code analysis tool that can determine what exceptions a method can throw?

It would be great to be able to type /// and have the xml documentation declaration section fill in the <exceptions> block automaticall开发者_开发问答y


If you use Resharper, you can use this plugin: http://code.google.com/p/agentjohnsonplugin/

0

精彩评论

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