[x] I have verified that I am running the latest version of DisposableFixer: 0.38
[x] I have searched open and closed issues to ensure it has not already been reported
Description
A undisposed MemoryStream that is created within an method and assigned to a property should be marked as "Property not disposed" but is marked as "Field not disposed".
Source Code
using System.IO;
namespace MyNamespace
{
class MyClass
{
public MemoryStream Stream { get; private set; }
public void SomeMethod()
{
Stream = new MemoryStream();
}
}
}
Prerequisites
Description
A undisposed MemoryStream that is created within an method and assigned to a property should be marked as "Property not disposed" but is marked as "Field not disposed".
Source Code
Screenshot