Preserve COM type library names

Proprietary

Replace 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.UseTypeLibGetDocumentation
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net3_0.UseTypeLibGetDocumentation

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