Review AssemblyName.CodeBase and EscapedCodeBase (SYSLIB0044)

Proprietary

Find resolved reads and writes of System.Reflection.AssemblyName.CodeBase and EscapedCodeBase, including object initializers. Preserve source and request review of loading identity, URI/path and deployment policy. Leave unrelated or unresolved properties and intrinsic nameof unchanged; only attributed conditional branches can be found.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net7.FindAssemblyNameCodeBase
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net7.FindAssemblyNameCodeBase

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