Find WinRT interop usage (removed in .NET 5)

Proprietary

Finds usages of WinRT interop types (WindowsRuntimeType, WindowsRuntimeMarshal, etc.) which were removed in .NET 5.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net5.FindWinRTInterop
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net5.FindWinRTInterop

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