Possible Duplicate:
How to reproducably cause / provoke a ReflectionTypeLoadException?
I wanted to get all types in a loaded assembly.code snippet is as follows
Assembly assemblyObj = Assembly.LoadFile(@"D:\abc\abc.dll");
IList<Type> types = assemblyObj.GetTypes();
when i run im getting ReflectionTypeLoadException.What is the mistake in the code.