Find BufferedStream.WriteByte implicit flush behavior change
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindBufferedStreamWriteByteArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFinds 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.FindBufferedStreamWriteByteIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet