i have to review a code made by some other person that has some memory leaks. Right now i’m searching the disposable objects to enclause them with the using statement and i would like to know if there is a quick way that tells you all the disposable objects declared in. I mean something like resharper or another visual studio plugin.
thanks.
I know what you mean. I don’t know, but look at FxCop. It might have a rule in there somewhere that checks whether objects implementing IDisposable are not disposed. Just a hunch, mind.
UPDATE: Mitch Wheat writes:
Thanks, Mitch.