Fix type resolution in Asm markup loader

This commit is contained in:
Yoshi Askharoun
2024-02-16 20:38:33 -06:00
parent 86f4842153
commit e74fc90974
+1 -1
View File
@@ -66,7 +66,7 @@ internal class AsmMarkupLoader
var typeName = qualifiedName.TypeName;
var result = FindDependency(qualifiedName.NamespacePrefix);
return result.ExportTable.Where(e => e.Name == typeName).FirstOrDefault()
return result.FindType(typeName)
?? throw new Exception($"No type with the name '{typeName}' was exported from {result.Uri}");
}