79559929

Date: 2025-04-07 12:49:19
Score: 2
Natty:
Report link

The return type of File.OpenRead() is a System.IO.Stream, which is not a task but it is an IAsyncDisposable. Hence why the compiler suggests await using. (Note that the compiler is not suggesting await File.OpenRead())

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: OnLooker