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

Breaking change: FileStream.Position is updated AFTER ReadAsync|WriteAsync completes #23858

Closed
carlossanlop opened this issue Apr 20, 2021 · 0 comments · Fixed by #24060
Closed
Assignees
Labels
breaking-change Indicates a .NET Core breaking change 🏁 Release: .NET 6 Issues and PRs for the .NET 6 release doc-idea Indicates issues that are suggestions for new topics [org][type][category] Pri1 High priority, do before Pri2 and Pri3

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Apr 20, 2021

FileStream.Position is updated AFTER ReadAsync|WriteAsync completes

@adamsitnik described it in detail here: dotnet/runtime#50858

cc @jozkee

Version introduced

.NET 6.0 Preview 4

Old behavior

New behavior

Reason for change

Recommended action

We will write a blog post and will share good practices.

Category

  • [C] Core .NET libraries

Affected APIs

FileStream.ReadAsync and FileStream.WriteAsync.

Issue metadata

  • Issue type: breaking-change
@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label Apr 20, 2021
@dotnet-bot dotnet-bot added breaking-change Indicates a .NET Core breaking change doc-idea Indicates issues that are suggestions for new topics [org][type][category] labels Apr 20, 2021
@gewarren gewarren self-assigned this Apr 21, 2021
@gewarren gewarren added Pri1 High priority, do before Pri2 and Pri3 and removed ⌚ Not Triaged Not triaged Pri3 labels Apr 21, 2021
@gewarren gewarren added the 🏁 Release: .NET 6 Issues and PRs for the .NET 6 release label May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Indicates a .NET Core breaking change 🏁 Release: .NET 6 Issues and PRs for the .NET 6 release doc-idea Indicates issues that are suggestions for new topics [org][type][category] Pri1 High priority, do before Pri2 and Pri3
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants