Find SetCompatibilityVersion() calls

Proprietary

Flags SetCompatibilityVersion calls. This method is a no-op in ASP.NET Core 3.0+ and should be removed during migration.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore2.FindSetCompatibilityVersion
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore2.FindSetCompatibilityVersion

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