Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override Stream.CopyTo on FileStream #26061

Closed
stephentoub opened this issue May 3, 2018 · 10 comments
Closed

Override Stream.CopyTo on FileStream #26061

stephentoub opened this issue May 3, 2018 · 10 comments
Assignees
Milestone

Comments

@stephentoub
Copy link
Member

Stream.CopyTo was made virtual in a previous release of .NET Core. We override CopyToAsync on FileStream, but we don't currently override CopyTo.

EDIT: See dotnet/coreclr#17978 (comment) for some thoughts.

@JeremyKuhne
Copy link
Member

@stephentoub is this something you want to take care of? Or is this a good candidate for up-for-grabs?

@stephentoub
Copy link
Member Author

Marked it up-for-grabs.

@tdinucci
Copy link
Member

tdinucci commented May 9, 2018

I'd be happy to take this one

@JeremyKuhne
Copy link
Member

@tdinucci Great! @karelz, can you get him set up so we can assign the issues?

@karelz
Copy link
Member

karelz commented May 11, 2018

@tdinucci I just sent you collaborator invite. Once you accept, we can assign it to you - it's GH limitation (just ping me and I will do that, assigning to myself temporarily).
Pro-tip: Becoming collaborator will automatically subscribe you to all notifications on the repo (500+ daily). We recommend to flip it to "Not Watching" which will send you notifications only on issues where you are mentioned, assigned, or explicitly subscribed.

@karelz karelz self-assigned this May 11, 2018
@tdinucci
Copy link
Member

👍

@karelz, thanks for the tip. I've accepted invite now

@tdinucci
Copy link
Member

@karelz, forgot to confirm. My understanding is that I should be working on coreclr for this. After I submit PR on coreclr I should wait a couple of days and then submit PR for unit tests on corefx. Is this correct?

@karelz
Copy link
Member

karelz commented May 11, 2018

@tdinucci I let @JeremyKuhne confirm what has to happen where and when.

@karelz karelz assigned tdinucci and unassigned karelz May 11, 2018
@JeremyKuhne
Copy link
Member

@tdinucci Create both PRs to show that you have tested. If you haven't seen them already, instructions for consuming your own CoreCLR are here: https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/developer-guide.md#testing-with-private-coreclr-bits

You can mark the test PR as no merge pending integration of the dependent change in CoreCLR.

@stephentoub
Copy link
Member Author

Determined not to be worthwhile.

@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 3.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants