As for an already compiled assembly. Reflection can give you more information about the structure of an object. But to get the real code, you need to go to IL .
As for the code that is open in Visual Studio, VS provides a COM interface that many of these plugins use. EnvDTE is controlled by a wrapper around this interface. But the documentation is not enough.
source share