Preserve COM type library names
ProprietaryReplace resolved Marshal.GetTypeLibName(ComTypes.ITypeLib) with a private helper calling GetDocumentation(-1, ...). Preserve the Framework null-argument parameter name, returned name and exceptions without releasing COM objects or changing apartments. Leaves the supported GetTypeInfoName API, legacy UCOM overloads, partial owners, conditional files and unresolved calls unchanged.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net3_0. UseTypeLibGetDocumentationmod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net3_0. UseTypeLibGetDocumentationInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.