Hi!

Instructions are defined in:

https://github.com/jbevain/cecil/blob/master/Mono.Cecil.Cil/OpCodes.cs

Instructions you mention are aliases, you should just use their actual form:

Brnull = Brfalse,
Brnull_S = Brfalse_S,
Brzero = Brfalse,
Brzero_S = Brfalse_S,
Brinst = Brtrue,
Brinst_S = Brtrue_S,
Ldind_U8 = Ldind_I8,
Ldelem_U8 = Ldelem_I8,
Endfault = Endfinally,

Jb

On Thu, Oct 1, 2015 at 10:24 AM,  <[email protected]> wrote:
> Hi,
>
> I am using mono cecil to dynamically read all IL instruction. In IL
> instruciton i am going through all the opcodes supported by c#, Before doing
> IL instruction Validation i am checking if it has valid opcodes. Mono cecil
> has implemenataion
> of opcodes with their respective properties but few of opcodes are not there
> in the "Instrucion.cs " file.
>
> like
>
> Ldc_I4_m1:
> Ldelem:
> Ldelem_U8:
> Brnull:
> Brnull_S:
> Brzero:
> Brzero_S:
> Brinst:
> Brinst_S:
> Ldind_U8:
> Stelem:
> endfault
>
> I am not sure if i am unable to use these opcodes or they are not
> implemented in mono cecil. Can anyone explain this to me how can i access
> these opcodes if they are part of mono cecil or if they are not implemented
> in mono
> cecil what could be poossible reason for it.
>
> Regards,
> S
>
> --
> --
> --
> mono-cecil
> ---
> You received this message because you are subscribed to the Google Groups
> "mono-cecil" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
--
mono-cecil
--- 
You received this message because you are subscribed to the Google Groups 
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to