Find DllImportSearchPath.AssemblyDirectory behavior change

Proprietary

Finds usages of DllImportSearchPath.AssemblyDirectory which has changed behavior in .NET 10. Specifying only AssemblyDirectory no longer falls back to OS default search paths.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindDllImportSearchPath
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindDllImportSearchPath

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