Skip to content
| Marketplace
Sign in
Visual Studio>Tools>DisposableFixer 2017
DisposableFixer 2017

DisposableFixer 2017

David Störmer

|
3,935 installs
| (3) | Free
Identifies IDisposable instances that are not disposed and disposes them
Download

This extension uses the Roslyn compiler platform to identify IDisposable-instances that are not disposed.
IDisposable instances that are not disposed, usually lead to some hard-to-find errors like memoryleaks. The current version is able to find undisposed

  • Field
  • Properties
  • anonymous Objects
  • local Variables

Do you use Reactive Extension/Observables? - Then this is your extension.

Currently some of the reported problems can be fixed automatically:

  • Fields and Properties can be disposed in Dispose() method (the interface get implemented automatically)
  • Local variables and anonymous objects can be wrapped in using statements
  • Local variables can be disposed after last usage

For more information about the concepts of this extension, feel free to look at the project page.

If you stumple upon any errors, please submit an issue ticket on github.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft