In a C# code editor, I want to restrict the choices that a user will see in the Intelliprompt for certain classes.
For instance, given a class called 'Entity', I only want to display four basic properties in the completion list -- no members inherited from base classes, and no other members defined in the class itself.
As far as I can determine, neither the ICompletionSession nor the Context member of the session have the information that I need -- what Type is being used to generate the list of Completion Items? If I know that, I can filter the Items in the OnSessionOpening() method of the CompletionProvider, but all I can find is TargetExpression.Value, which gives me the name of the object being targeted, not its Type.
Am I missing something simple (probably...)?