AsyncFixer
AsyncFixer copied to clipboard
warning if dispose object after async
Task foo()
{
using var destination = new MemoryStream();
using FileStream source = File.Open("data", FileMode.Open);
return source.CopyToAsync(destination);
}
should warn that streams could be closed before task executed
Isn't this is already solved as AsyncFixer04 case ?
Any news on this one?