I would like to ask sth that would be seen as fundamental to most of you. Why do you need "type.Name != "<Module>""?
I thought assembly contains modules and modules contain types (I.e. classes, interfaces, enums). How can a type be one of the module. I tried printing out info from "type.Name == "<Module>"", there is indeed a type with this name, but there seems no info abt the type that can be printed. Why is it so? Thx. http://www.mono-project.com/Cecil:FAQ foreach(TypeDefinition type in assembly.MainModule.Types) { if(type.Name != "<Module>") { ... } }
-- -- mono-cecil
