Rename Form.OnClosing/OnClosed to OnFormClosing/OnFormClosed (WFDEV004)
ProprietaryRenames Form.OnClosing to OnFormClosing and Form.OnClosed to OnFormClosed for .NET 10 compatibility. Parameter type changes (CancelEventArgs → FormClosingEventArgs, EventArgs → FormClosedEventArgs) must be updated manually.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net10. FormOnClosingRenamemod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net10. FormOnClosingRenameInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.