1

I'm evaluating NDepend as a part of an effort to enforce code quality and correct framework usage, and I am looking for a way to write the equivalent of CA2000: Dispose objects before losing scope. Anyone else has tried to do this, or has knowledge about how to do it?

Patrick from NDepend team
  • 13,237
  • 6
  • 61
  • 92

1 Answers1

0

This rule is not implementable through NDepend because the context is inside method body. NDepend is more about writing code rules concerning the program structure like for example:

Patrick from NDepend team
  • 13,237
  • 6
  • 61
  • 92