> > Because in most cases u will simply use MainModule instead of > enumerating Modules. And this code will work in, let's say, 95% of > cases. > That's exactly the question - why write code that does not work in 5% of cases? It is evil. If that is only the reason for the 'MainModule' to be (and I hope this is the *only* reason), then I'll use 'AssebmlyDefinition.Modules' always. So, is it the *only* reason for 'MainModule' to be born?
-- -- mono-cecil
