Find InMemoryDirectoryInfo rootDir prepend change
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindInMemoryDirectoryInfoArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFinds new InMemoryDirectoryInfo() constructor calls. In .NET 9, rootDir is prepended to file paths that don't start with the rootDir, which may change file matching behavior.
Single recipesearchdotnetnet9globbingProprietary
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.FindInMemoryDirectoryInfoIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet