Fixed type lookup in GetClassTypReference.
Mixed normal/portal assemblies make that necessary.