Find RuntimeHelpers.GetSubArray return type change
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindRuntimeHelpersGetSubArrayArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFinds 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.
Single recipesearchdotnetnet9Proprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindRuntimeHelpersGetSubArrayIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet