1
Vote

Not detect undisposed objects

description

I wrote a console application having following code:
    static void Main(string[] args)
    {
        Stream stream = new FileStream(@"B:\firefox.pdf", FileMode.Open);
 
        stream.ReadByte();
        stream.ReadByte();
        stream.ReadByte();
        stream.ReadByte();
        stream.ReadByte();
    }
obviously, stream is not disposed. But I used your tool, after "go", log viewer didn't show anything. I also checked the log file. In deed, it contains nothing.

file attachments

comments