public static string FollowLink(this IMEPackage pcc, int uIndex) { if (pcc.isUExport(uIndex)) { ExportEntry parent = pcc.getUExport(uIndex); return(pcc.FollowLink(parent.idxLink) + parent.ObjectName + "."); } if (pcc.isUImport(uIndex)) { ImportEntry parent = pcc.getUImport(uIndex); return(pcc.FollowLink(parent.idxLink) + parent.ObjectName + "."); } return(""); }