Find DriveInfo.DriveFormat behavior change
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindDriveInfoDriveFormatArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFinds usages of DriveInfo.DriveFormat which returns Linux kernel filesystem type strings instead of mapped names in .NET 10. Verify that comparisons match the new format.
Single recipenet10searchdotnetProprietary
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.Net10.FindDriveInfoDriveFormatIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet