Mono.Cecil vs System.Reflection 2
My friend Patrick, who’s leading the amazing NDepend effort wrote a great post comparing Cecil against the built-in System.Reflection:
Mono.Cecil vs System.Reflection
Thanks Patrick for the kind words!
Yet another Hello World
using System;
using System.Linq.Expressions;
class HelloWorldOfTrees {
static void Main ()
{
var param = Expression.Parameter (typeof (string), "p");
var cwl = Expression.Lambda<Action<string>> (
Expression.Call (
typeof (Console).GetMethod (
"WriteLine", new [] { typeof (string) }),
param), param).Compile ();
cwl ("Hello World !");
}
}
[mono] /tmp @ gmcs test.cs [mono] /tmp @ mono test.exe Hello World !
Well heh, you can’t do really much more than that, but at least, that is working (sort of).
Mono presentation at Microsoft Techdays 2
For the second year in a row, I’ll be presenting a session about Mono and Moonlight during the Microsoft Techdays that take place in Paris, on Feb 11. We’ll have the pleasure to have with me my oh so famous boss Miguel, to introduce my session, and answer a few questions.
Here’s the direct link to the session sum up: PrĂ©sentation des projets Mono et Moonlight .
Update: You can download the slides of the presentation.
Mono.Cecil 0.6
Yeah, time for a new release of Mono.Cecil.
New since 0.5:
- A lot of work to read obfuscated assemblies,
- Some precious optimizations,
- Improved the Mono.Cecil.Binary layer to read pure native PE binaries,
- Ability to annotate Cecil’s objects,
- Of course fixed a handful of bugs,
- Add a lot or helpers accessors to Cecil’s type, like IsPublic, IsVirtual, Is*,
- Preliminary support for debugging symbols (to be blogged about).
Where to download:
- Mono.Cecil 0.6 Sources (tar.gz)
- Mono.Cecil 0.6 Binary (tar.gz)
- Mono.Cecil 0.6 Sources (zip)
- Mono.Cecil 0.6 Binary (zip)
Thanks to all the folks that contributed patches to this release!
Beloved users, please upgrade.



