Skip to content

Conversation

@stephentoub
Copy link
Member

We added these earlier in the .NET 5 cycle, but they're not providing the benefits we hoped, and are likely to cause confusion and actually result in de-optimizations in some cases. We can re-add them in the future should a stronger need / impact present itself.

(Thanks to @manandre for his efforts to add these initially.)

Closes #22472

@stephentoub stephentoub changed the title Remove CopyTo{Async} delegate overloads Remove Stream.CopyTo{Async} delegate overloads Jun 11, 2020
We added these earlier in the .NET 5 cycle, but they're not providing the benefits we hoped, and are likely to cause confusion and actually result in de-optimizations in some cases.  We can re-add them in the future should a stronger need / impact present itself.
@stephentoub stephentoub merged commit 2444ad0 into dotnet:master Jun 11, 2020
@stephentoub stephentoub deleted the removecopyto branch June 11, 2020 18:11
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CopyToAsync with Func overload to Stream

3 participants