public List <TypeDefinition> GetJavaTypes(IEnumerable <string> assemblies, IAssemblyResolver resolver) { var javaTypes = new List <TypeDefinition> (); foreach (var assembly in assemblies) { var assm = resolver.GetAssembly(assembly); foreach (ModuleDefinition md in assm.Modules) { foreach (TypeDefinition td in md.Types) { AddJavaTypes(javaTypes, td); } } } return(javaTypes); }