The Module Reader is the component that reads binary module files and build their representation in the Code Object Model.
This component is purely internal to PostSharp. You will normally never get into contact with it.
However, it's interesting to be aware of some features:
- The Module Reader works directly with the image of the module as loaded in memory. It does not need a second copy. It has some drawbacks but saves a lot of memory.
- The Module Reader has a "lazy loading" option. It enabled to load fields and methods only "on demand". This is useful when loading a referenced assembly.