Closed
Description
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