Dead Code / Forms

I know R# will find and gray out dead code but I just took over a project
and have found a lot of forms that are "dead". Is there any
procedure/function for finding dead forms?


Comment actions Permalink

The forms cannot be "dead" 'cause they're public. But you can find out which form is dead by Find Usages and remove it manually.

Comment actions Permalink

If you enable solution-wide error analysis, it will highlight unused classes
and class members in dead-code color. The only thing, you'll need to open
the corresponding file in order to observe that highlighting.

Sergey V. Coox
JetBrains, Inc
"Develop with pleasure!"


Please sign in to leave a comment.