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

False positive when using using-Block #3

Closed BADF00D closed 8 years ago

BADF00D commented 8 years ago

In the following code the extenstion states, there mem is not disposed:

namespace Failre{
    public class Class1{
        public Class1(){
            using(var mem = new MemoryStream()){

            }
        }
    }
}