The VBA development environment has a higher level view on all the opened projects, including referenced ones. You can even open and view(*) the code in the modules of the referenced file, including form class modules.
So, the context of the Immediate Window is not the same as in a module in...