I have a broken assembly that I want to conceive, it canβt be broken badly, it just cannot find the link to the assembly, therefore it does not execute PEVerify. But .... Assembly.LoadFrom () will still load it, and GetTypes () will throw a ReflectionTypeLoadException exception, the .LoaderExceptions array shows me which link cannot be found. At the moment I am blocked.
However, the large Reflector Tool can go further and actually display the contained types and correctly handle the missing help problem by providing me with a pop-up dialog to view it. My question is: how after GetTypes () fails, will the reflector be able to get the types anyway?
source
share