Find Icon.ToBitmap usage (PNG-frame behavior change)

Proprietary

Icon.ToBitmap succeeds on icons containing PNG frames when retargeting to .NET Framework 4.6 (previously threw ArgumentOutOfRangeException; Switch.System.Drawing.DontSupportPngFramesInIcons to restore throwing). Review Icon.ToBitmap usage.

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

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