private static bool IsSuperTypeByClrName(string clrName, IDeclaredType type) { var interfaceType = TypeFactory.CreateTypeByCLRName(clrName, type.Module).GetTypeElement(); return(interfaceType != null && type.GetSuperType(interfaceType).Any()); }