← All recipes
Moderne licensed

Find BufferedStream.WriteByte implicit flush behavior change

Recipe IDOpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindBufferedStreamWriteByteArtifactOpenRewrite.Recipes.CSharp.Migration.Dotnet

Finds calls to BufferedStream.WriteByte() which no longer performs an implicit flush when the internal buffer is full in .NET 10. Call Flush() explicitly if needed.

Single recipenet10searchdotnetProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindBufferedStreamWriteByte

If the recipe isn’t available locally, install it with:

mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet