Find SerialPort usage (background-thread exception behavior)

Proprietary

SerialPort no longer terminates the process when its background thread hits an OS exception when retargeting to .NET Framework 4.7.1 (Switch.System.IO.Ports.DoNotCatchSerialStreamThreadExceptions to revert). Review SerialPort error handling.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindSerialPortThreadException
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindSerialPortThreadException

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