Class CilOpCodes
- Namespace
- AsmResolver.PE.DotNet.Cil
- Assembly
- AsmResolver.PE.dll
Provides members defining the entire CIL instruction set.
public static class CilOpCodes
- Inheritance
-
CilOpCodes
- Inherited Members
Remarks
Fields
Add
Add two values, returning a new value.
public static readonly CilOpCode Add
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.add?view=net-6.0
Add_Ovf
Add signed integer values with overflow check.
public static readonly CilOpCode Add_Ovf
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.add_ovf?view=net-6.0
Add_Ovf_Un
Add unsigned integer values with overflow check.
public static readonly CilOpCode Add_Ovf_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.add_ovf_un?view=net-6.0
And
Bitwise AND of two integral values, returns an integral value.
public static readonly CilOpCode And
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.and?view=net-6.0
Arglist
Return argument list handle for the current method.
public static readonly CilOpCode Arglist
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.arglist?view=net-6.0
Beq
Branch to target if equal.
public static readonly CilOpCode Beq
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.beq?view=net-6.0
Beq_S
Branch to target if equal, short form.
public static readonly CilOpCode Beq_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.beq_s?view=net-6.0
Bge
Branch to target if greater than or equal to.
public static readonly CilOpCode Bge
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.bge?view=net-6.0
Bge_S
Branch to target if greater than or equal to, short form.
public static readonly CilOpCode Bge_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.bge_s?view=net-6.0
Bge_Un
Branch to target if greater than or equal to (unsigned or unordered).
public static readonly CilOpCode Bge_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.bge_un?view=net-6.0
Bge_Un_S
Branch to target if greater than or equal to (unsigned or unordered), short form.
public static readonly CilOpCode Bge_Un_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.bge_un_s?view=net-6.0
Bgt
Branch to target if greater than.
public static readonly CilOpCode Bgt
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.bgt?view=net-6.0
Bgt_S
Branch to target if greater than, short form.
public static readonly CilOpCode Bgt_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.bgt_s?view=net-6.0
Bgt_Un
Branch to target if greater than (unsigned or unordered).
public static readonly CilOpCode Bgt_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.bgt_un?view=net-6.0
Bgt_Un_S
Branch to target if greater than (unsigned or unordered), short form.
public static readonly CilOpCode Bgt_Un_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.bgt_un_s?view=net-6.0
Ble
Branch to target if less than or equal to.
public static readonly CilOpCode Ble
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ble?view=net-6.0
Ble_S
Branch to target if less than or equal to, short form.
public static readonly CilOpCode Ble_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ble_s?view=net-6.0
Ble_Un
Branch to target if less than or equal to (unsigned or unordered).
public static readonly CilOpCode Ble_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ble_un?view=net-6.0
Ble_Un_S
Branch to target if less than or equal to (unsigned or unordered), short form.
public static readonly CilOpCode Ble_Un_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ble_un_s?view=net-6.0
Blt
Branch to target if less than.
public static readonly CilOpCode Blt
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.blt?view=net-6.0
Blt_S
Branch to target if less than, short form.
public static readonly CilOpCode Blt_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.blt_s?view=net-6.0
Blt_Un
Branch to target if less than (unsigned or unordered).
public static readonly CilOpCode Blt_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.blt_un?view=net-6.0
Blt_Un_S
Branch to target if less than (unsigned or unordered), short form.
public static readonly CilOpCode Blt_Un_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.blt_un_s?view=net-6.0
Bne_Un
Branch to target if unequal or unordered.
public static readonly CilOpCode Bne_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.bne_un?view=net-6.0
Bne_Un_S
Branch to target if unequal or unordered, short form.
public static readonly CilOpCode Bne_Un_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.bne_un_s?view=net-6.0
Box
Convert a boxable value to its boxed form.
public static readonly CilOpCode Box
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.box?view=net-6.0
Br
Branch to target.
public static readonly CilOpCode Br
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.br?view=net-6.0
Br_S
Branch to target, short form.
public static readonly CilOpCode Br_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.br_s?view=net-6.0
Break
Inform a debugger that a breakpoint has been reached.
public static readonly CilOpCode Break
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.break?view=net-6.0
Brfalse
Branch to target if value is zero (false).
public static readonly CilOpCode Brfalse
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.brfalse?view=net-6.0
Brfalse_S
Branch to target if value is zero (false), short form.
public static readonly CilOpCode Brfalse_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.brfalse_s?view=net-6.0
Brtrue
Branch to target if value is non-zero (true).
public static readonly CilOpCode Brtrue
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.brtrue?view=net-6.0
Brtrue_S
Branch to target if value is non-zero (true), short form.
public static readonly CilOpCode Brtrue_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.brtrue_s?view=net-6.0
Call
Call method described by method.
public static readonly CilOpCode Call
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.call?view=net-6.0
Calli
Call method indicated on the stack with arguments described by a calling convention.
public static readonly CilOpCode Calli
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.calli?view=net-6.0
Callvirt
Call a method associated with an object.
public static readonly CilOpCode Callvirt
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.callvirt?view=net-6.0
Castclass
Cast obj to class.
public static readonly CilOpCode Castclass
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.castclass?view=net-6.0
Ceq
Push 1 (of type int32) if value1 equals value2, else push 0.
public static readonly CilOpCode Ceq
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ceq?view=net-6.0
Cgt
Push 1 (of type int32) if value1 greater that value2, else push 0.
public static readonly CilOpCode Cgt
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.cgt?view=net-6.0
Cgt_Un
Push 1 (of type int32) if value1 greater that value2, unsigned or unordered, else push 0.
public static readonly CilOpCode Cgt_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.cgt_un?view=net-6.0
Ckfinite
Throw ArithmeticException if value is not a finite number.
public static readonly CilOpCode Ckfinite
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ckfinite?view=net-6.0
Clt
Push 1 (of type int32) if value1 lower than value2, else push 0.
public static readonly CilOpCode Clt
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.clt?view=net-6.0
Clt_Un
Push 1 (of type int32) if value1 lower than value2, unsigned or unordered, else push 0.
public static readonly CilOpCode Clt_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.clt_un?view=net-6.0
Constrained
Call a virtual method on a type constrained to be type T.
public static readonly CilOpCode Constrained
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.constrained?view=net-6.0
Conv_I
Convert to native int, pushing native int on stack.
public static readonly CilOpCode Conv_I
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_i?view=net-6.0
Conv_I1
Convert to int8, pushing int32 on stack.
public static readonly CilOpCode Conv_I1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_i1?view=net-6.0
Conv_I2
Convert to int16, pushing int32 on stack.
public static readonly CilOpCode Conv_I2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_i2?view=net-6.0
Conv_I4
Convert to int32, pushing int32 on stack.
public static readonly CilOpCode Conv_I4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_i4?view=net-6.0
Conv_I8
Convert to int64, pushing int64 on stack.
public static readonly CilOpCode Conv_I8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_i8?view=net-6.0
Conv_Ovf_I
Convert to a native int (on the stack as native int) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_I
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_ovf_i?view=net-6.0
Conv_Ovf_I1
Convert to an int8 (on the stack as int32) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_I1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_ovf_i1?view=net-6.0
Conv_Ovf_I1_Un
Convert unsigned to an int8 (on the stack as int32) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_I1_Un
Field Value
Remarks
Conv_Ovf_I2
Convert to an int16 (on the stack as int32) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_I2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_ovf_i2?view=net-6.0
Conv_Ovf_I2_Un
Convert unsigned to an int16 (on the stack as int32) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_I2_Un
Field Value
Remarks
Conv_Ovf_I4
Convert to an int32 (on the stack as int32) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_I4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_ovf_i4?view=net-6.0
Conv_Ovf_I4_Un
Convert unsigned to an int32 (on the stack as int32) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_I4_Un
Field Value
Remarks
Conv_Ovf_I8
Convert to an int64 (on the stack as int64) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_I8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_ovf_i8?view=net-6.0
Conv_Ovf_I8_Un
Convert unsigned to an int64 (on the stack as int64) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_I8_Un
Field Value
Remarks
Conv_Ovf_I_Un
Convert unsigned to a native int (on the stack as native int) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_I_Un
Field Value
Remarks
Conv_Ovf_U
Convert to a native unsigned int (on the stack as native int) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_U
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_ovf_u?view=net-6.0
Conv_Ovf_U1
Convert to an unsigned int8 (on the stack as int32) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_U1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_ovf_u1?view=net-6.0
Conv_Ovf_U1_Un
Convert unsigned to an unsigned int8 (on the stack as int32) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_U1_Un
Field Value
Remarks
Conv_Ovf_U2
Convert to an unsigned int16 (on the stack as int32) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_U2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_ovf_u2?view=net-6.0
Conv_Ovf_U2_Un
Convert unsigned to an unsigned int16 (on the stack as int32) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_U2_Un
Field Value
Remarks
Conv_Ovf_U4
Convert to an unsigned int32 (on the stack as int32) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_U4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_ovf_u4?view=net-6.0
Conv_Ovf_U4_Un
Convert unsigned to an unsigned int32 (on the stack as int32) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_U4_Un
Field Value
Remarks
Conv_Ovf_U8
Convert to an unsigned int64 (on the stack as int64) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_U8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_ovf_u8?view=net-6.0
Conv_Ovf_U8_Un
Convert unsigned to an unsigned int64 (on the stack as int64) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_U8_Un
Field Value
Remarks
Conv_Ovf_U_Un
Convert unsigned to a native unsigned int (on the stack as native int) and throw an exception on overflow.
public static readonly CilOpCode Conv_Ovf_U_Un
Field Value
Remarks
Conv_R4
Convert to float32, pushing F on stack.
public static readonly CilOpCode Conv_R4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_r4?view=net-6.0
Conv_R8
Convert to float64, pushing F on stack.
public static readonly CilOpCode Conv_R8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_r8?view=net-6.0
Conv_R_Un
Convert unsigned integer to floating-point, pushing F on stack.
public static readonly CilOpCode Conv_R_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_r_un?view=net-6.0
Conv_U
Convert to native unsigned int, pushing native int on stack.
public static readonly CilOpCode Conv_U
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_u?view=net-6.0
Conv_U1
Convert to unsigned int8, pushing int32 on stack.
public static readonly CilOpCode Conv_U1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_u1?view=net-6.0
Conv_U2
Convert to unsigned int16, pushing int32 on stack.
public static readonly CilOpCode Conv_U2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_u2?view=net-6.0
Conv_U4
Convert to unsigned int32, pushing int32 on stack.
public static readonly CilOpCode Conv_U4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_u4?view=net-6.0
Conv_U8
Convert to unsigned int64, pushing int64 on stack.
public static readonly CilOpCode Conv_U8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.conv_u8?view=net-6.0
Cpblk
Copy data from memory to memory.
public static readonly CilOpCode Cpblk
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.cpblk?view=net-6.0
Cpobj
Copy a value type from src to dest.
public static readonly CilOpCode Cpobj
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.cpobj?view=net-6.0
Div
Divide two values to return a quotient or floating-point result.
public static readonly CilOpCode Div
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.div?view=net-6.0
Div_Un
Divide two values, unsigned, returning a quotient.
public static readonly CilOpCode Div_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.div_un?view=net-6.0
Dup
Duplicate the value on the top of the stack.
public static readonly CilOpCode Dup
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.dup?view=net-6.0
Endfilter
End an exception handling filter clause.
public static readonly CilOpCode Endfilter
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.endfilter?view=net-6.0
Endfinally
End finally clause of an exception block.
public static readonly CilOpCode Endfinally
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.endfinally?view=net-6.0
Initblk
Set all bytes in a block of memory to a given byte value.
public static readonly CilOpCode Initblk
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.initblk?view=net-6.0
Initobj
Initialize the value at address dest.
public static readonly CilOpCode Initobj
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.initobj?view=net-6.0
Isinst
Test if obj is an instance of class, returning null or an instance of that class or interface.
public static readonly CilOpCode Isinst
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.isinst?view=net-6.0
Jmp
Exit current method and jump to the specified method.
public static readonly CilOpCode Jmp
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.jmp?view=net-6.0
Ldarg
Load argument onto the stack.
public static readonly CilOpCode Ldarg
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldarg?view=net-6.0
Ldarg_0
Load argument 0 onto the stack.
public static readonly CilOpCode Ldarg_0
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldarg_0?view=net-6.0
Ldarg_1
Load argument 1 onto the stack.
public static readonly CilOpCode Ldarg_1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldarg_1?view=net-6.0
Ldarg_2
Load argument 2 onto the stack.
public static readonly CilOpCode Ldarg_2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldarg_2?view=net-6.0
Ldarg_3
Load argument 3 onto the stack.
public static readonly CilOpCode Ldarg_3
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldarg_3?view=net-6.0
Ldarg_S
Load argument onto the stack, short form.
public static readonly CilOpCode Ldarg_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldarg_s?view=net-6.0
Ldarga
Fetch the address of the argument indexed.
public static readonly CilOpCode Ldarga
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldarga?view=net-6.0
Ldarga_S
Fetch the address of argument, short form.
public static readonly CilOpCode Ldarga_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldarga_s?view=net-6.0
Ldc_I4
Push num of type int32 onto the stack as int32.
public static readonly CilOpCode Ldc_I4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_i4?view=net-6.0
Ldc_I4_0
Push 0 onto the stack as int32.
public static readonly CilOpCode Ldc_I4_0
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_i4_0?view=net-6.0
Ldc_I4_1
Push 1 onto the stack as int32.
public static readonly CilOpCode Ldc_I4_1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_i4_1?view=net-6.0
Ldc_I4_2
Push 2 onto the stack as int32.
public static readonly CilOpCode Ldc_I4_2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_i4_2?view=net-6.0
Ldc_I4_3
Push 3 onto the stack as int32.
public static readonly CilOpCode Ldc_I4_3
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_i4_3?view=net-6.0
Ldc_I4_4
Push 4 onto the stack as int32.
public static readonly CilOpCode Ldc_I4_4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_i4_4?view=net-6.0
Ldc_I4_5
Push 5 onto the stack as int32.
public static readonly CilOpCode Ldc_I4_5
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_i4_5?view=net-6.0
Ldc_I4_6
Push 6 onto the stack as int32.
public static readonly CilOpCode Ldc_I4_6
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_i4_6?view=net-6.0
Ldc_I4_7
Push 7 onto the stack as int32.
public static readonly CilOpCode Ldc_I4_7
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_i4_7?view=net-6.0
Ldc_I4_8
Push 8 onto the stack as int32.
public static readonly CilOpCode Ldc_I4_8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_i4_8?view=net-6.0
Ldc_I4_M1
Push -1 onto the stack as int32.
public static readonly CilOpCode Ldc_I4_M1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_i4_m1?view=net-6.0
Ldc_I4_S
Push num onto the stack as int32, short form.
public static readonly CilOpCode Ldc_I4_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_i4_s?view=net-6.0
Ldc_I8
Push num of type int64 onto the stack as int64.
public static readonly CilOpCode Ldc_I8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_i8?view=net-6.0
Ldc_R4
Push num of type float32 onto the stack as F.
public static readonly CilOpCode Ldc_R4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_r4?view=net-6.0
Ldc_R8
Push num of type float64 onto the stack as F.
public static readonly CilOpCode Ldc_R8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldc_r8?view=net-6.0
Ldelem
Load the element at index onto the top of the stack.
public static readonly CilOpCode Ldelem
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelem?view=net-6.0
Ldelem_I
Load the element with type native int at index onto the top of the stack as a native int.
public static readonly CilOpCode Ldelem_I
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelem_i?view=net-6.0
Ldelem_I1
Load the element with type int8 at index onto the top of the stack as an int32.
public static readonly CilOpCode Ldelem_I1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelem_i1?view=net-6.0
Ldelem_I2
Load the element with type int16 at index onto the top of the stack as an int32.
public static readonly CilOpCode Ldelem_I2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelem_i2?view=net-6.0
Ldelem_I4
Load the element with type int32 at index onto the top of the stack as an int32.
public static readonly CilOpCode Ldelem_I4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelem_i4?view=net-6.0
Ldelem_I8
Load the element with type signed or unsigned int64 at index onto the top of the stack as a signed int64.
public static readonly CilOpCode Ldelem_I8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelem_i8?view=net-6.0
Ldelem_R4
Load the element with type float32 at index onto the top of the stack as an F.
public static readonly CilOpCode Ldelem_R4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelem_r4?view=net-6.0
Ldelem_R8
Load the element with type float64 at index onto the top of the stack as an F.
public static readonly CilOpCode Ldelem_R8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelem_r8?view=net-6.0
Ldelem_Ref
Load the element at index onto the top of the stack as an O. The type of the O is the same as the element type of the array pushed on the CIL stack.
public static readonly CilOpCode Ldelem_Ref
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelem_ref?view=net-6.0
Ldelem_U1
Load the element with type unsigned int8 at index onto the top of the stack as an int32.
public static readonly CilOpCode Ldelem_U1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelem_u1?view=net-6.0
Ldelem_U2
Load the element with type unsigned int16 at index onto the top of the stack as an int32.
public static readonly CilOpCode Ldelem_U2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelem_u2?view=net-6.0
Ldelem_U4
Load the element with type unsigned int32 at index onto the top of the stack as an int32.
public static readonly CilOpCode Ldelem_U4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelem_u4?view=net-6.0
Ldelema
Load the address of element at index onto the top of the stack.
public static readonly CilOpCode Ldelema
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelema?view=net-6.0
Ldfld
Push the value of field of object (or value type) obj, onto the stack.
public static readonly CilOpCode Ldfld
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldfld?view=net-6.0
Ldflda
Push the address of field of object obj on the stack.
public static readonly CilOpCode Ldflda
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldflda?view=net-6.0
Ldftn
Push a pointer to a method referenced by method, on the stack.
public static readonly CilOpCode Ldftn
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldftn?view=net-6.0
Ldind_I
Indirect load value of type native int as native int on the stack.
public static readonly CilOpCode Ldind_I
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldind_i?view=net-6.0
Ldind_I1
Indirect load value of type int8 as int32 on the stack.
public static readonly CilOpCode Ldind_I1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldind_i1?view=net-6.0
Ldind_I2
Indirect load value of type int16 as int32 on the stack.
public static readonly CilOpCode Ldind_I2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldind_i2?view=net-6.0
Ldind_I4
Indirect load value of type int32 as int32 on the stack.
public static readonly CilOpCode Ldind_I4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldind_i4?view=net-6.0
Ldind_I8
Indirect load value of type signed or unsigned int64 as signed int64 on the stack.
public static readonly CilOpCode Ldind_I8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldind_i8?view=net-6.0
Ldind_R4
Indirect load value of type float32 as F on the stack.
public static readonly CilOpCode Ldind_R4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldind_r4?view=net-6.0
Ldind_R8
Indirect load value of type float64 as F on the stack.
public static readonly CilOpCode Ldind_R8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldind_r8?view=net-6.0
Ldind_Ref
Indirect load value of type object ref as O on the stack.
public static readonly CilOpCode Ldind_Ref
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldind_ref?view=net-6.0
Ldind_U1
Indirect load value of type unsigned int8 as int32 on the stack.
public static readonly CilOpCode Ldind_U1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldind_u1?view=net-6.0
Ldind_U2
Indirect load value of type unsigned int16 as int32 on the stack.
public static readonly CilOpCode Ldind_U2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldind_u2?view=net-6.0
Ldind_U4
Indirect load value of type unsigned int32 as int32 on the stack.
public static readonly CilOpCode Ldind_U4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldind_u4?view=net-6.0
Ldlen
Push the length (of type native unsigned int) of array on the stack.
public static readonly CilOpCode Ldlen
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldlen?view=net-6.0
Ldloc
Load local variable of index onto stack.
public static readonly CilOpCode Ldloc
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldloc?view=net-6.0
Ldloc_0
Load local variable 0 onto stack.
public static readonly CilOpCode Ldloc_0
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldloc_0?view=net-6.0
Ldloc_1
Load local variable 1 onto stack.
public static readonly CilOpCode Ldloc_1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldloc_1?view=net-6.0
Ldloc_2
Load local variable 2 onto stack.
public static readonly CilOpCode Ldloc_2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldloc_2?view=net-6.0
Ldloc_3
Load local variable 3 onto stack.
public static readonly CilOpCode Ldloc_3
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldloc_3?view=net-6.0
Ldloc_S
Load local variable of index onto stack, short form.
public static readonly CilOpCode Ldloc_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldloc_s?view=net-6.0
Ldloca
Load address of local variable with index index.
public static readonly CilOpCode Ldloca
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldloca?view=net-6.0
Ldloca_S
Load address of local variable with index, short form.
public static readonly CilOpCode Ldloca_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldloca_s?view=net-6.0
Ldnull
Push a null reference on the stack.
public static readonly CilOpCode Ldnull
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldnull?view=net-6.0
Ldobj
Copy the value stored at address src to the stack.
public static readonly CilOpCode Ldobj
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldobj?view=net-6.0
Ldsfld
Push the value of the static field on the stack.
public static readonly CilOpCode Ldsfld
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldsfld?view=net-6.0
Ldsflda
Push the address of the static field, field, on the stack.
public static readonly CilOpCode Ldsflda
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldsflda?view=net-6.0
Ldstr
Push a string object for the literal string.
public static readonly CilOpCode Ldstr
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldstr?view=net-6.0
Ldtoken
Convert metadata token to its runtime representation.
public static readonly CilOpCode Ldtoken
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldtoken?view=net-6.0
Ldvirtftn
Push address of virtual method on the stack.
public static readonly CilOpCode Ldvirtftn
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldvirtftn?view=net-6.0
Leave
Exit a protected region of code.
public static readonly CilOpCode Leave
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.leave?view=net-6.0
Leave_S
Exit a protected region of code, short form.
public static readonly CilOpCode Leave_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.leave_s?view=net-6.0
Localloc
Allocate space from the local memory pool.
public static readonly CilOpCode Localloc
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.localloc?view=net-6.0
Mkrefany
Push a typed reference to ptr of type class onto the stack.
public static readonly CilOpCode Mkrefany
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.mkrefany?view=net-6.0
Mul
Multiply values.
public static readonly CilOpCode Mul
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.mul?view=net-6.0
Mul_Ovf
Multiply signed integer values. Signed result shall fit in same size.
public static readonly CilOpCode Mul_Ovf
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.mul_ovf?view=net-6.0
Mul_Ovf_Un
Multiply unsigned integer values. Unsigned result shall fit in same size.
public static readonly CilOpCode Mul_Ovf_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.mul_ovf_un?view=net-6.0
MultiByteOpCodes
Gets a sorted list of all multi-byte operation codes.
public static readonly CilOpCode[] MultiByteOpCodes
Field Value
Neg
Negate value.
public static readonly CilOpCode Neg
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.neg?view=net-6.0
Newarr
Create a new array with elements of type etype.
public static readonly CilOpCode Newarr
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.newarr?view=net-6.0
Newobj
Allocate an uninitialized object or value type and call ctor.
public static readonly CilOpCode Newobj
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.newobj?view=net-6.0
Nop
Do nothing (No operation).
public static readonly CilOpCode Nop
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.nop?view=net-6.0
Not
Bitwise complement (logical not).
public static readonly CilOpCode Not
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.not?view=net-6.0
Or
Bitwise OR of two integer values, returns an integer.
public static readonly CilOpCode Or
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.or?view=net-6.0
Pop
Pop value from the stack.
public static readonly CilOpCode Pop
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.pop?view=net-6.0
Prefix1
This prefix opcode is reserved and currently not implemented in the runtime
public static readonly CilOpCode Prefix1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix1?view=net-6.0
Prefix2
This prefix opcode is reserved and currently not implemented in the runtime
public static readonly CilOpCode Prefix2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix2?view=net-6.0
Prefix3
This prefix opcode is reserved and currently not implemented in the runtime
public static readonly CilOpCode Prefix3
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix3?view=net-6.0
Prefix4
This prefix opcode is reserved and currently not implemented in the runtime
public static readonly CilOpCode Prefix4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix4?view=net-6.0
Prefix5
This prefix opcode is reserved and currently not implemented in the runtime
public static readonly CilOpCode Prefix5
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix5?view=net-6.0
Prefix6
This prefix opcode is reserved and currently not implemented in the runtime
public static readonly CilOpCode Prefix6
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix6?view=net-6.0
Prefix7
This prefix opcode is reserved and currently not implemented in the runtime
public static readonly CilOpCode Prefix7
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix7?view=net-6.0
Prefixref
This prefix opcode is reserved and currently not implemented in the runtime
public static readonly CilOpCode Prefixref
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefixref?view=net-6.0
Readonly
Specify that the subsequent array address operation performs no type check at runtime, and that it returns a controlled-mutability managed pointer.
public static readonly CilOpCode Readonly
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.readonly?view=net-6.0
Refanytype
Push the type token stored in a typed reference.
public static readonly CilOpCode Refanytype
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.refanytype?view=net-6.0
Refanyval
Push the address stored in a typed reference.
public static readonly CilOpCode Refanyval
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.refanyval?view=net-6.0
Rem
Remainder when dividing one value by another.
public static readonly CilOpCode Rem
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.rem?view=net-6.0
Rem_Un
Remainder when dividing one unsigned value by another.
public static readonly CilOpCode Rem_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.rem_un?view=net-6.0
Ret
Return from method, possibly with a value.
public static readonly CilOpCode Ret
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ret?view=net-6.0
Rethrow
Rethrow the current exception.
public static readonly CilOpCode Rethrow
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.rethrow?view=net-6.0
Shl
Shift an integer left (shifting in zeros), return an integer.
public static readonly CilOpCode Shl
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.shl?view=net-6.0
Shr
Shift an integer right (shift in sign), return an integer.
public static readonly CilOpCode Shr
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.shr?view=net-6.0
Shr_Un
Shift an integer right (shift in zero), return an integer.
public static readonly CilOpCode Shr_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.shr_un?view=net-6.0
SingleByteOpCodes
Gets a sorted list of all single-byte operation codes.
public static readonly CilOpCode[] SingleByteOpCodes
Field Value
Sizeof
Push the size, in bytes, of a type as an unsigned int32.
public static readonly CilOpCode Sizeof
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.sizeof?view=net-6.0
Starg
Store value to the argument.
public static readonly CilOpCode Starg
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.starg?view=net-6.0
Starg_S
Store value to the argument numbered, short form.
public static readonly CilOpCode Starg_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.starg_s?view=net-6.0
Stelem
Replace array element at index with the value on the stack.
public static readonly CilOpCode Stelem
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stelem?view=net-6.0
Stelem_I
Replace array element at index with the i value on the stack.
public static readonly CilOpCode Stelem_I
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stelem_i?view=net-6.0
Stelem_I1
Replace array element at index with the int8 value on the stack.
public static readonly CilOpCode Stelem_I1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stelem_i1?view=net-6.0
Stelem_I2
Replace array element at index with the int16 value on the stack.
public static readonly CilOpCode Stelem_I2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stelem_i2?view=net-6.0
Stelem_I4
Replace array element at index with the int32 value on the stack.
public static readonly CilOpCode Stelem_I4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stelem_i4?view=net-6.0
Stelem_I8
Replace array element at index with the int64 value on the stack.
public static readonly CilOpCode Stelem_I8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stelem_i8?view=net-6.0
Stelem_R4
Replace array element at index with the float32 value on the stack.
public static readonly CilOpCode Stelem_R4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stelem_r4?view=net-6.0
Stelem_R8
Replace array element at index with the float64 value on the stack.
public static readonly CilOpCode Stelem_R8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stelem_r8?view=net-6.0
Stelem_Ref
Replace array element at index with the ref value on the stack.
public static readonly CilOpCode Stelem_Ref
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stelem_ref?view=net-6.0
Stfld
Replace the value of field of the object obj with value.
public static readonly CilOpCode Stfld
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stfld?view=net-6.0
Stind_I
Store value of type native int into memory at address.
public static readonly CilOpCode Stind_I
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stind_i?view=net-6.0
Stind_I1
Store value of type int8 into memory at address.
public static readonly CilOpCode Stind_I1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stind_i1?view=net-6.0
Stind_I2
Store value of type int16 into memory at address.
public static readonly CilOpCode Stind_I2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stind_i2?view=net-6.0
Stind_I4
Store value of type int32 into memory at address.
public static readonly CilOpCode Stind_I4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stind_i4?view=net-6.0
Stind_I8
Store value of type int64 into memory at address.
public static readonly CilOpCode Stind_I8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stind_i8?view=net-6.0
Stind_R4
Store value of type float32 into memory at address.
public static readonly CilOpCode Stind_R4
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stind_r4?view=net-6.0
Stind_R8
Store value of type float64 into memory at address.
public static readonly CilOpCode Stind_R8
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stind_r8?view=net-6.0
Stind_Ref
Store value of type object ref (type O) into memory at address.
public static readonly CilOpCode Stind_Ref
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stind_ref?view=net-6.0
Stloc
Pop a value from stack into local variable index.
public static readonly CilOpCode Stloc
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stloc?view=net-6.0
Stloc_0
Pop a value from stack into local variable 0.
public static readonly CilOpCode Stloc_0
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stloc_0?view=net-6.0
Stloc_1
Pop a value from stack into local variable 1.
public static readonly CilOpCode Stloc_1
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stloc_1?view=net-6.0
Stloc_2
Pop a value from stack into local variable 2.
public static readonly CilOpCode Stloc_2
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stloc_2?view=net-6.0
Stloc_3
Pop a value from stack into local variable 3.
public static readonly CilOpCode Stloc_3
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stloc_3?view=net-6.0
Stloc_S
Pop a value from stack into local variable with index, short form.
public static readonly CilOpCode Stloc_S
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stloc_s?view=net-6.0
Stobj
Store a value at an address.
public static readonly CilOpCode Stobj
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stobj?view=net-6.0
Stsfld
Replace the value of the static field.
public static readonly CilOpCode Stsfld
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.stsfld?view=net-6.0
Sub
Subtract value2 from value1, returning a new value.
public static readonly CilOpCode Sub
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.sub?view=net-6.0
Sub_Ovf
Subtract native int from a native int. Signed result shall fit in same size.
public static readonly CilOpCode Sub_Ovf
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.sub_ovf?view=net-6.0
Sub_Ovf_Un
Subtract native unsigned int from a native unsigned int. Unsigned result shall fit in same size.
public static readonly CilOpCode Sub_Ovf_Un
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.sub_ovf_un?view=net-6.0
Switch
Jump to one of n values.
public static readonly CilOpCode Switch
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.switch?view=net-6.0
Tailcall
Subsequent call terminates current method.
public static readonly CilOpCode Tailcall
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.tailcall?view=net-6.0
Throw
Throw an exception.
public static readonly CilOpCode Throw
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.throw?view=net-6.0
Unaligned
Subsequent pointer instruction might be unaligned.
public static readonly CilOpCode Unaligned
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.unaligned?view=net-6.0
Unbox
Extract a value-type from obj, its boxed representation, and push a controlled-mutability managed pointer to it to the top of the stack.
public static readonly CilOpCode Unbox
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.unbox?view=net-6.0
Unbox_Any
Extract a value-type from obj, its boxed representation, and copy to the top of the stack.
public static readonly CilOpCode Unbox_Any
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.unbox_any?view=net-6.0
Volatile
Subsequent pointer reference is volatile.
public static readonly CilOpCode Volatile
Field Value
Remarks
See also: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.volatile?view=net-6.0
Xor
Bitwise XOR of integer values, returns an integer.
public static readonly CilOpCode Xor