开发者

Need tools which will refactor the C# code for null checks

Can anyone suggest me for automating the null check refactoring in C# code? The actual problem is, I have a C# consol开发者_运维技巧e application with 500 files where in each file contains so main IF-ELSE conditional statement for user-defined objects. Now, I need to put null checks for all the objects(also nested objects) used in these IF-ELSE conditional statements.

To achieve this, I need a tool which will place the null checks automatically.


ReSharper will help you find these. Here's an example:

Need tools which will refactor the C# code for null checks

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜