[x] I have verified that I am running the latest version of DisposableFixer: 1.5.0
[x] I have searched open and closed issues to ensure it has not already been reported
Description
Besides the already known using statement using(var mem = new MemoryStream()){} or using(var mem = new MemoryStream() C# 8 will support using declarations:
using var mem = new MemoryStream()
This should also be detected as a valid dispose call.
Prerequisites
Description
Besides the already known using statement
using(var mem = new MemoryStream()){}
orusing(var mem = new MemoryStream()
C# 8 will support using declarations:using var mem = new MemoryStream()
This should also be detected as a valid dispose call.
For more information, have a look at this post
Source Code
Screenshot