we are converting some of the remaining code that used the older WinForms Actipro libraries to the current.
The code in question runs in the context of OnSessionOpening of a custom CSharpCompletionProvider
If an ICompletionItem.Tag is an ITypeResolverResult, how can ITypeDefinition be obtained from the Tag? ITypeResolverResult.Type is an ITypeReference.
ITypeReference cannot be passed to IAssemblyDocumentation.GetDocumentation which expects an ITypeDefinition which we need to convert the code.