Qualify bound type references
ProprietaryPreserve original type identity with global qualification in supported explicit type positions: constructor types, typeof, casts, and variable/parameter declarations. Leaves other positions, unresolved references, aliases, generics, nested types, and conditional snapshots for manual review unless exact unconditional-method admission is explicitly enabled. Apply before changing target frameworks.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. QualifyBoundTypeRequired
Exact original non-generic, non-nested type identity to preserve. Run against the original, unambiguous model before retargeting.
Optional
Optional exact source path; wildcards are not supported.
Opt in only with an exact SourcePath. Qualify supported bound type positions in uniquely matched, byte-identical methods outside every conditional region. Conditional imports/declaration headers and source shadows refuse admission.
mod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. QualifyBoundType \
-P FullyQualifiedTypeName= AutoFixture. Kernel. MethodInvokerInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.