BADF00D / DisposableFixer

This is a Visual Studio Extension and NuGet package that should identify and fix problems as memleaks while using IDisposables.
Other
35 stars 7 forks source link

Add CompositeDisposable.Add to tracking methods #56

Closed dscopra closed 7 years ago

dscopra commented 7 years ago

Prerequisites

Description

When adding an IDisposable to an CompositeDisposable via its Add(IDisposable) method, I got an diagnostics.

Source Code

var disposables = new CompositeDisposable();
disposables.Add(new MemoryStream())//should not yield an diagnostic
disposables.Dispose();

Screenshot

image

Signatures:

BADF00D commented 7 years ago

Will be part of Release 0.29