system.__ComObject in intellisence prompt

SyntaxEditor for Windows Forms Forum

Posted 12 years ago by Alexey Chuikov - Project Tech Leader. Custom Development, Quest Software
Version: 4.0.0253
Avatar
I'm wondering why System.__ComObject type is being populated in intellisense list with AddReflectionForAssemblyNamespacesAndTypes method provided with IntelliPromptNamespaceAndTypeFlags.Public flag as parameter.

Reflector shows System.__ComObject as an internal type, not a public one.

Comments (3)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Actually if you look at the Type info for __ComObject it is marked as public, which is why it shows up. But we will add code for the next release to filter it out anyhow.


Actipro Software Support

Posted 12 years ago by Alexey Chuikov - Project Tech Leader. Custom Development, Quest Software
Avatar
However, IsVisible property of this type is false. So, I just post-filter intellisense list using this property.
Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Good find, I'll change the code to look at IsVisible.


Actipro Software Support

The latest build of this product (v2018.1 build 0342) was released 10 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.