-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Use RandomAccess/File.OpenHandle in a few more places #55150
Conversation
Tagging subscribers to this area: @dotnet/area-system-io Issue DetailsPlaces where we don't need to pay for the FileStream and the access pattern is easily replaced.
|
This fails because of MS_IO_REDIST, and it's too annoying to use ifdefs everywhere for it. We should really consider stopping building this package. cc: @adamsitnik |
Updated with undos for the File changes that would have required large ifdefs. |
We plan to reevaluate this package for .NET 7 and hopefully remove it #54919 (comment) cc @jeffhandley |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I hope that you enjoyed using the new APIs ;)
src/libraries/System.Private.CoreLib/src/System/IO/FileSystem.Unix.cs
Outdated
Show resolved
Hide resolved
Places where we don't need to pay for the FileStream and the access pattern is easily replaced.
Places where we don't need to pay for the FileStream and the access pattern is easily replaced.