public IResolutionScope ImportScope(IResolutionScope scope)
{
var assemblyRef = scope as AssemblyReference;
if (assemblyRef != null)
return ImportAssembly(assemblyRef);
var typeRef = scope as TypeReference;
if (typeRef != null)
return ImportType(typeRef);
var moduleRef = scope as ModuleReference;
if (moduleRef != null)
return ImportModule(moduleRef);
throw new NotSupportedException();
}