Thanks Guys, very much appreciated.
So assembly contains a module. And each module has IL part and Metadata part.
Does an assembly correspond to a namespace?
I was experimenting with creating assemblies on the fly, that's why I got these questions. I wondered if LoadAssembly will be called when a new assembly is generated from the already running code. Cause I think this is something very powerful to .NET, to be able to just add in memory assemblies. And will it be possible to actually call a function through ICorDebugEval.
How do in-memory assemblies get freed? Does a standard garbage collection mechanism just unload an assembly?