mono-cecil

What do these properties mean in Mono.Cecil?

I am using Lokad shared libraries, which in turn depends on Mono.Cecil. I am a little confused what the following properties mean (they are to do with .NET internals and thus have equivalent .NET internals): PackingSize (they are to do with types as it is in TypeDefinition). Mvid (in ModuleDefinition). ExplicitThis (something to do wi...

Mono-Cecil: How can I get a ModuleDefinition for mscorlib?

I'm trying to write IL that calls methods in mscorlib, but I can't figure out how to get a ModuleDefinition to mscorlib to actually reference the types & methods, and documentation & google are lacking. ...

How to alias an interface method implementation with Mono.Cecil?

I'm using Mono.Cecil (version 0.6.9.0) to alias a method that implements an interface method. To do that, I have to add an Override to the target method that points back to the interface method (much like what's possible with VB.NET), like this: using System; using System.Reflection; using Mono.Cecil; class Program { static void Mai...