Added resolution to TypeContainerUse. It doesn't search for local variables to be faster.
Updated matching on TypeContainerUse to only search for named children of type NamedScope, i.e. don't look for variables.