You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
should warn that streams could be closed before task executed
The text was updated successfully, but these errors were encountered: