Change StreamReader.ReadBufferAsync to return ValueTask<int> (dotnet/coreclr#24810)
It's a private helper that's always directly awaited. No need to allocate a task each time it's called and data is synchronously available. Commit migrated from https://github.com/dotnet/coreclr/commit/13405da4ba21095f7673a10eaabfef990117478d
Showing
想要评论请 注册 或 登录