Find BinaryReader.ReadString behavior change

Proprietary

Finds calls to BinaryReader.ReadString() which now returns the Unicode replacement character (\uFFFD) for malformed UTF-8 byte sequences in .NET 9, instead of the previous behavior. Verify your code handles the replacement character correctly.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindBinaryReaderReadString
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindBinaryReaderReadString

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.