Find RuntimeHelpers.GetSubArray return type change

Proprietary

Finds calls to RuntimeHelpers.GetSubArray() which may return a different array type in .NET 9. Code that depends on the runtime type of the returned array may break.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindRuntimeHelpersGetSubArray
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindRuntimeHelpersGetSubArray

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