Generate C# proxy class at run-time with ILGenerator