Hello,

I'm very new to Cecil and I'm having problems in finding the equivalents of
the followings in Cecil. Could anyone help me to give the equivalent
usages? Thanks in advance.

1. DynamicMethod
2. EmitCall  (e.g.
   IL.EmitCall(OpCodes.Callvirt, GetBuildKey, null);
   IL.Emit(OpCodes.Unbox_Any, dependencyType);
)
3. LocalBuilder   (e.g. LocalBuilder resolving =
ilContext.IL.DeclareLocal(typeof(bool));)
4. System.Reflection.Emit.Label   (e.g. Label existingObjectNotNull =
buildContext.IL.DefineLabel();)    //Do I have to use TextMap?
5. ILGenerator.BeginCatchBlock (e.g.
 ilContext.IL.BeginCatchBlock(typeof(Exception)); )
6. ILGenerator.MarkLabel  (e.g.
ilContext.IL.MarkLabel(parameterResolveFailed); )
7. ILGenerator.EndExceptionBlock()  (e.g. ilContext.IL.EndExceptionBlock();
)

Thanks and Best Regards,
Michael Sync

Don't go the way life takes you.
Take life the way you go

http://michaelsync.net

-- 
--
mono-cecil

Subscription settings: http://groups.google.com/group/mono-cecil/subscribe?hl=en

Reply via email to