Find obsolete Clipboard.GetData calls (WFDEV005)

Proprietary

Finds calls to Clipboard.GetData(string). In .NET 10, this method is obsolete (WFDEV005). Use Clipboard.TryGetData methods instead.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindClipboardGetData
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindClipboardGetData

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