Skip to content

Breaking change: FileStream does not synchronize file offset with OS anymore #23857

Closed
@carlossanlop

Description

@carlossanlop

FileStream does not synchronize file offset with OS anymore

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

cc @jozkee

Version introduced

.NET 6.0 Preview 4

Old behavior

New behavior

Reason for change

Recommended action

We will write a blog post with recommended practices.

Category

  • Core .NET libraries

Affected APIs

System.IO.FileStream APIs that used to update the OS file offset.

Finally, please remember to email a link to this breaking change issue to .NET Breaking Change Notifications.


Issue metadata

  • Issue type: breaking-change

Metadata

Metadata

Assignees

Labels

🏁 Release: .NET 6Issues and PRs for the .NET 6 releasebreaking-changeIndicates a .NET Core breaking change

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions