Class Code
By adding the following using statement to your source code: using static HarmonyLib.Code;
you can for example start using Ldarg_1
in you code instead of new CodeMatch(OpCodes.Ldarg_1)
and then you can use array notation to add an operand and/or a name: Call[myMethodInfo]
instead of new CodeMatch(OpCodes.Call, myMethodInfo)
Assembly: 0Harmony.dll
Syntax
Properties
Add
Declaration
public static Code.Add_ Add { get; }
Property Value
Add_Ovf
Declaration
public static Code.Add_Ovf_ Add_Ovf { get; }
Property Value
Add_Ovf_Un
Declaration
public static Code.Add_Ovf_Un_ Add_Ovf_Un { get; }
Property Value
And
Declaration
public static Code.And_ And { get; }
Property Value
Arglist
Declaration
public static Code.Arglist_ Arglist { get; }
Property Value
Beq
Declaration
public static Code.Beq_ Beq { get; }
Property Value
Beq_S
Declaration
public static Code.Beq_S_ Beq_S { get; }
Property Value
Bge
Declaration
public static Code.Bge_ Bge { get; }
Property Value
Bge_S
Declaration
public static Code.Bge_S_ Bge_S { get; }
Property Value
Bge_Un
Declaration
public static Code.Bge_Un_ Bge_Un { get; }
Property Value
Bge_Un_S
Declaration
public static Code.Bge_Un_S_ Bge_Un_S { get; }
Property Value
Bgt
Declaration
public static Code.Bgt_ Bgt { get; }
Property Value
Bgt_S
Declaration
public static Code.Bgt_S_ Bgt_S { get; }
Property Value
Bgt_Un
Declaration
public static Code.Bgt_Un_ Bgt_Un { get; }
Property Value
Bgt_Un_S
Declaration
public static Code.Bgt_Un_S_ Bgt_Un_S { get; }
Property Value
Ble
Declaration
public static Code.Ble_ Ble { get; }
Property Value
Ble_S
Declaration
public static Code.Ble_S_ Ble_S { get; }
Property Value
Ble_Un
Declaration
public static Code.Ble_Un_ Ble_Un { get; }
Property Value
Ble_Un_S
Declaration
public static Code.Ble_Un_S_ Ble_Un_S { get; }
Property Value
Blt
Declaration
public static Code.Blt_ Blt { get; }
Property Value
Blt_S
Declaration
public static Code.Blt_S_ Blt_S { get; }
Property Value
Blt_Un
Declaration
public static Code.Blt_Un_ Blt_Un { get; }
Property Value
Blt_Un_S
Declaration
public static Code.Blt_Un_S_ Blt_Un_S { get; }
Property Value
Bne_Un
Declaration
public static Code.Bne_Un_ Bne_Un { get; }
Property Value
Bne_Un_S
Declaration
public static Code.Bne_Un_S_ Bne_Un_S { get; }
Property Value
Box
Declaration
public static Code.Box_ Box { get; }
Property Value
Br
Declaration
public static Code.Br_ Br { get; }
Property Value
Br_S
Declaration
public static Code.Br_S_ Br_S { get; }
Property Value
Break
Declaration
public static Code.Break_ Break { get; }
Property Value
Brfalse
Declaration
public static Code.Brfalse_ Brfalse { get; }
Property Value
Brfalse_S
Declaration
public static Code.Brfalse_S_ Brfalse_S { get; }
Property Value
Brtrue
Declaration
public static Code.Brtrue_ Brtrue { get; }
Property Value
Brtrue_S
Declaration
public static Code.Brtrue_S_ Brtrue_S { get; }
Property Value
Call
Declaration
public static Code.Call_ Call { get; }
Property Value
Calli
Declaration
public static Code.Calli_ Calli { get; }
Property Value
Callvirt
Declaration
public static Code.Callvirt_ Callvirt { get; }
Property Value
Castclass
Declaration
public static Code.Castclass_ Castclass { get; }
Property Value
Ceq
Declaration
public static Code.Ceq_ Ceq { get; }
Property Value
Cgt
Declaration
public static Code.Cgt_ Cgt { get; }
Property Value
Cgt_Un
Declaration
public static Code.Cgt_Un_ Cgt_Un { get; }
Property Value
Ckfinite
Declaration
public static Code.Ckfinite_ Ckfinite { get; }
Property Value
Clt
Declaration
public static Code.Clt_ Clt { get; }
Property Value
Clt_Un
Declaration
public static Code.Clt_Un_ Clt_Un { get; }
Property Value
Constrained
Declaration
public static Code.Constrained_ Constrained { get; }
Property Value
Conv_I
Declaration
public static Code.Conv_I_ Conv_I { get; }
Property Value
Conv_I1
Declaration
public static Code.Conv_I1_ Conv_I1 { get; }
Property Value
Conv_I2
Declaration
public static Code.Conv_I2_ Conv_I2 { get; }
Property Value
Conv_I4
Declaration
public static Code.Conv_I4_ Conv_I4 { get; }
Property Value
Conv_I8
Declaration
public static Code.Conv_I8_ Conv_I8 { get; }
Property Value
Conv_Ovf_I
Declaration
public static Code.Conv_Ovf_I_ Conv_Ovf_I { get; }
Property Value
Conv_Ovf_I1
Declaration
public static Code.Conv_Ovf_I1_ Conv_Ovf_I1 { get; }
Property Value
Conv_Ovf_I1_Un
Declaration
public static Code.Conv_Ovf_I1_Un_ Conv_Ovf_I1_Un { get; }
Property Value
Conv_Ovf_I2
Declaration
public static Code.Conv_Ovf_I2_ Conv_Ovf_I2 { get; }
Property Value
Conv_Ovf_I2_Un
Declaration
public static Code.Conv_Ovf_I2_Un_ Conv_Ovf_I2_Un { get; }
Property Value
Conv_Ovf_I4
Declaration
public static Code.Conv_Ovf_I4_ Conv_Ovf_I4 { get; }
Property Value
Conv_Ovf_I4_Un
Declaration
public static Code.Conv_Ovf_I4_Un_ Conv_Ovf_I4_Un { get; }
Property Value
Conv_Ovf_I8
Declaration
public static Code.Conv_Ovf_I8_ Conv_Ovf_I8 { get; }
Property Value
Conv_Ovf_I8_Un
Declaration
public static Code.Conv_Ovf_I8_Un_ Conv_Ovf_I8_Un { get; }
Property Value
Conv_Ovf_I_Un
Declaration
public static Code.Conv_Ovf_I_Un_ Conv_Ovf_I_Un { get; }
Property Value
Conv_Ovf_U
Declaration
public static Code.Conv_Ovf_U_ Conv_Ovf_U { get; }
Property Value
Conv_Ovf_U1
Declaration
public static Code.Conv_Ovf_U1_ Conv_Ovf_U1 { get; }
Property Value
Conv_Ovf_U1_Un
Declaration
public static Code.Conv_Ovf_U1_Un_ Conv_Ovf_U1_Un { get; }
Property Value
Conv_Ovf_U2
Declaration
public static Code.Conv_Ovf_U2_ Conv_Ovf_U2 { get; }
Property Value
Conv_Ovf_U2_Un
Declaration
public static Code.Conv_Ovf_U2_Un_ Conv_Ovf_U2_Un { get; }
Property Value
Conv_Ovf_U4
Declaration
public static Code.Conv_Ovf_U4_ Conv_Ovf_U4 { get; }
Property Value
Conv_Ovf_U4_Un
Declaration
public static Code.Conv_Ovf_U4_Un_ Conv_Ovf_U4_Un { get; }
Property Value
Conv_Ovf_U8
Declaration
public static Code.Conv_Ovf_U8_ Conv_Ovf_U8 { get; }
Property Value
Conv_Ovf_U8_Un
Declaration
public static Code.Conv_Ovf_U8_Un_ Conv_Ovf_U8_Un { get; }
Property Value
Conv_Ovf_U_Un
Declaration
public static Code.Conv_Ovf_U_Un_ Conv_Ovf_U_Un { get; }
Property Value
Conv_R4
Declaration
public static Code.Conv_R4_ Conv_R4 { get; }
Property Value
Conv_R8
Declaration
public static Code.Conv_R8_ Conv_R8 { get; }
Property Value
Conv_R_Un
Declaration
public static Code.Conv_R_Un_ Conv_R_Un { get; }
Property Value
Conv_U
Declaration
public static Code.Conv_U_ Conv_U { get; }
Property Value
Conv_U1
Declaration
public static Code.Conv_U1_ Conv_U1 { get; }
Property Value
Conv_U2
Declaration
public static Code.Conv_U2_ Conv_U2 { get; }
Property Value
Conv_U4
Declaration
public static Code.Conv_U4_ Conv_U4 { get; }
Property Value
Conv_U8
Declaration
public static Code.Conv_U8_ Conv_U8 { get; }
Property Value
Cpblk
Declaration
public static Code.Cpblk_ Cpblk { get; }
Property Value
Cpobj
Declaration
public static Code.Cpobj_ Cpobj { get; }
Property Value
Div
Declaration
public static Code.Div_ Div { get; }
Property Value
Div_Un
Declaration
public static Code.Div_Un_ Div_Un { get; }
Property Value
Dup
Declaration
public static Code.Dup_ Dup { get; }
Property Value
Endfilter
Declaration
public static Code.Endfilter_ Endfilter { get; }
Property Value
Endfinally
Declaration
public static Code.Endfinally_ Endfinally { get; }
Property Value
Initblk
Declaration
public static Code.Initblk_ Initblk { get; }
Property Value
Initobj
Declaration
public static Code.Initobj_ Initobj { get; }
Property Value
Isinst
Declaration
public static Code.Isinst_ Isinst { get; }
Property Value
Jmp
Declaration
public static Code.Jmp_ Jmp { get; }
Property Value
Ldarg
Declaration
public static Code.Ldarg_ Ldarg { get; }
Property Value
Ldarg_0
Declaration
public static Code.Ldarg_0_ Ldarg_0 { get; }
Property Value
Ldarg_1
Declaration
public static Code.Ldarg_1_ Ldarg_1 { get; }
Property Value
Ldarg_2
Declaration
public static Code.Ldarg_2_ Ldarg_2 { get; }
Property Value
Ldarg_3
Declaration
public static Code.Ldarg_3_ Ldarg_3 { get; }
Property Value
Ldarg_S
Declaration
public static Code.Ldarg_S_ Ldarg_S { get; }
Property Value
Ldarga
Declaration
public static Code.Ldarga_ Ldarga { get; }
Property Value
Ldarga_S
Declaration
public static Code.Ldarga_S_ Ldarga_S { get; }
Property Value
Ldc_I4
Declaration
public static Code.Ldc_I4_ Ldc_I4 { get; }
Property Value
Ldc_I4_0
Declaration
public static Code.Ldc_I4_0_ Ldc_I4_0 { get; }
Property Value
Ldc_I4_1
Declaration
public static Code.Ldc_I4_1_ Ldc_I4_1 { get; }
Property Value
Ldc_I4_2
Declaration
public static Code.Ldc_I4_2_ Ldc_I4_2 { get; }
Property Value
Ldc_I4_3
Declaration
public static Code.Ldc_I4_3_ Ldc_I4_3 { get; }
Property Value
Ldc_I4_4
Declaration
public static Code.Ldc_I4_4_ Ldc_I4_4 { get; }
Property Value
Ldc_I4_5
Declaration
public static Code.Ldc_I4_5_ Ldc_I4_5 { get; }
Property Value
Ldc_I4_6
Declaration
public static Code.Ldc_I4_6_ Ldc_I4_6 { get; }
Property Value
Ldc_I4_7
Declaration
public static Code.Ldc_I4_7_ Ldc_I4_7 { get; }
Property Value
Ldc_I4_8
Declaration
public static Code.Ldc_I4_8_ Ldc_I4_8 { get; }
Property Value
Ldc_I4_M1
Declaration
public static Code.Ldc_I4_M1_ Ldc_I4_M1 { get; }
Property Value
Ldc_I4_S
Declaration
public static Code.Ldc_I4_S_ Ldc_I4_S { get; }
Property Value
Ldc_I8
Declaration
public static Code.Ldc_I8_ Ldc_I8 { get; }
Property Value
Ldc_R4
Declaration
public static Code.Ldc_R4_ Ldc_R4 { get; }
Property Value
Ldc_R8
Declaration
public static Code.Ldc_R8_ Ldc_R8 { get; }
Property Value
Ldelem
Declaration
public static Code.Ldelem_ Ldelem { get; }
Property Value
Ldelem_I
Declaration
public static Code.Ldelem_I_ Ldelem_I { get; }
Property Value
Ldelem_I1
Declaration
public static Code.Ldelem_I1_ Ldelem_I1 { get; }
Property Value
Ldelem_I2
Declaration
public static Code.Ldelem_I2_ Ldelem_I2 { get; }
Property Value
Ldelem_I4
Declaration
public static Code.Ldelem_I4_ Ldelem_I4 { get; }
Property Value
Ldelem_I8
Declaration
public static Code.Ldelem_I8_ Ldelem_I8 { get; }
Property Value
Ldelem_R4
Declaration
public static Code.Ldelem_R4_ Ldelem_R4 { get; }
Property Value
Ldelem_R8
Declaration
public static Code.Ldelem_R8_ Ldelem_R8 { get; }
Property Value
Ldelem_Ref
Declaration
public static Code.Ldelem_Ref_ Ldelem_Ref { get; }
Property Value
Ldelem_U1
Declaration
public static Code.Ldelem_U1_ Ldelem_U1 { get; }
Property Value
Ldelem_U2
Declaration
public static Code.Ldelem_U2_ Ldelem_U2 { get; }
Property Value
Ldelem_U4
Declaration
public static Code.Ldelem_U4_ Ldelem_U4 { get; }
Property Value
Ldelema
Declaration
public static Code.Ldelema_ Ldelema { get; }
Property Value
Ldfld
Declaration
public static Code.Ldfld_ Ldfld { get; }
Property Value
Ldflda
Declaration
public static Code.Ldflda_ Ldflda { get; }
Property Value
Ldftn
Declaration
public static Code.Ldftn_ Ldftn { get; }
Property Value
Ldind_I
Declaration
public static Code.Ldind_I_ Ldind_I { get; }
Property Value
Ldind_I1
Declaration
public static Code.Ldind_I1_ Ldind_I1 { get; }
Property Value
Ldind_I2
Declaration
public static Code.Ldind_I2_ Ldind_I2 { get; }
Property Value
Ldind_I4
Declaration
public static Code.Ldind_I4_ Ldind_I4 { get; }
Property Value
Ldind_I8
Declaration
public static Code.Ldind_I8_ Ldind_I8 { get; }
Property Value
Ldind_R4
Declaration
public static Code.Ldind_R4_ Ldind_R4 { get; }
Property Value
Ldind_R8
Declaration
public static Code.Ldind_R8_ Ldind_R8 { get; }
Property Value
Ldind_Ref
Declaration
public static Code.Ldind_Ref_ Ldind_Ref { get; }
Property Value
Ldind_U1
Declaration
public static Code.Ldind_U1_ Ldind_U1 { get; }
Property Value
Ldind_U2
Declaration
public static Code.Ldind_U2_ Ldind_U2 { get; }
Property Value
Ldind_U4
Declaration
public static Code.Ldind_U4_ Ldind_U4 { get; }
Property Value
Ldlen
Declaration
public static Code.Ldlen_ Ldlen { get; }
Property Value
Ldloc
Declaration
public static Code.Ldloc_ Ldloc { get; }
Property Value
Ldloc_0
Declaration
public static Code.Ldloc_0_ Ldloc_0 { get; }
Property Value
Ldloc_1
Declaration
public static Code.Ldloc_1_ Ldloc_1 { get; }
Property Value
Ldloc_2
Declaration
public static Code.Ldloc_2_ Ldloc_2 { get; }
Property Value
Ldloc_3
Declaration
public static Code.Ldloc_3_ Ldloc_3 { get; }
Property Value
Ldloc_S
Declaration
public static Code.Ldloc_S_ Ldloc_S { get; }
Property Value
Ldloca
Declaration
public static Code.Ldloca_ Ldloca { get; }
Property Value
Ldloca_S
Declaration
public static Code.Ldloca_S_ Ldloca_S { get; }
Property Value
Ldnull
Declaration
public static Code.Ldnull_ Ldnull { get; }
Property Value
Ldobj
Declaration
public static Code.Ldobj_ Ldobj { get; }
Property Value
Ldsfld
Declaration
public static Code.Ldsfld_ Ldsfld { get; }
Property Value
Ldsflda
Declaration
public static Code.Ldsflda_ Ldsflda { get; }
Property Value
Ldstr
Declaration
public static Code.Ldstr_ Ldstr { get; }
Property Value
Ldtoken
Declaration
public static Code.Ldtoken_ Ldtoken { get; }
Property Value
Ldvirtftn
Declaration
public static Code.Ldvirtftn_ Ldvirtftn { get; }
Property Value
Leave
Declaration
public static Code.Leave_ Leave { get; }
Property Value
Leave_S
Declaration
public static Code.Leave_S_ Leave_S { get; }
Property Value
Localloc
Declaration
public static Code.Localloc_ Localloc { get; }
Property Value
Mkrefany
Declaration
public static Code.Mkrefany_ Mkrefany { get; }
Property Value
Mul
Declaration
public static Code.Mul_ Mul { get; }
Property Value
Mul_Ovf
Declaration
public static Code.Mul_Ovf_ Mul_Ovf { get; }
Property Value
Mul_Ovf_Un
Declaration
public static Code.Mul_Ovf_Un_ Mul_Ovf_Un { get; }
Property Value
Neg
Declaration
public static Code.Neg_ Neg { get; }
Property Value
Newarr
Declaration
public static Code.Newarr_ Newarr { get; }
Property Value
Newobj
Declaration
public static Code.Newobj_ Newobj { get; }
Property Value
Nop
Declaration
public static Code.Nop_ Nop { get; }
Property Value
Not
Declaration
public static Code.Not_ Not { get; }
Property Value
Operand
Declaration
public static Code.Operand_ Operand { get; }
Property Value
Or
Declaration
public static Code.Or_ Or { get; }
Property Value
Pop
Declaration
public static Code.Pop_ Pop { get; }
Property Value
Prefix1
Declaration
public static Code.Prefix1_ Prefix1 { get; }
Property Value
Prefix2
Declaration
public static Code.Prefix2_ Prefix2 { get; }
Property Value
Prefix3
Declaration
public static Code.Prefix3_ Prefix3 { get; }
Property Value
Prefix4
Declaration
public static Code.Prefix4_ Prefix4 { get; }
Property Value
Prefix5
Declaration
public static Code.Prefix5_ Prefix5 { get; }
Property Value
Prefix6
Declaration
public static Code.Prefix6_ Prefix6 { get; }
Property Value
Prefix7
Declaration
public static Code.Prefix7_ Prefix7 { get; }
Property Value
Prefixref
Declaration
public static Code.Prefixref_ Prefixref { get; }
Property Value
Readonly
Declaration
public static Code.Readonly_ Readonly { get; }
Property Value
Refanytype
Declaration
public static Code.Refanytype_ Refanytype { get; }
Property Value
Refanyval
Declaration
public static Code.Refanyval_ Refanyval { get; }
Property Value
Rem
Declaration
public static Code.Rem_ Rem { get; }
Property Value
Rem_Un
Declaration
public static Code.Rem_Un_ Rem_Un { get; }
Property Value
Ret
Declaration
public static Code.Ret_ Ret { get; }
Property Value
Rethrow
Declaration
public static Code.Rethrow_ Rethrow { get; }
Property Value
Shl
Declaration
public static Code.Shl_ Shl { get; }
Property Value
Shr
Declaration
public static Code.Shr_ Shr { get; }
Property Value
Shr_Un
Declaration
public static Code.Shr_Un_ Shr_Un { get; }
Property Value
Sizeof
Declaration
public static Code.Sizeof_ Sizeof { get; }
Property Value
Starg
Declaration
public static Code.Starg_ Starg { get; }
Property Value
Starg_S
Declaration
public static Code.Starg_S_ Starg_S { get; }
Property Value
Stelem
Declaration
public static Code.Stelem_ Stelem { get; }
Property Value
Stelem_I
Declaration
public static Code.Stelem_I_ Stelem_I { get; }
Property Value
Stelem_I1
Declaration
public static Code.Stelem_I1_ Stelem_I1 { get; }
Property Value
Stelem_I2
Declaration
public static Code.Stelem_I2_ Stelem_I2 { get; }
Property Value
Stelem_I4
Declaration
public static Code.Stelem_I4_ Stelem_I4 { get; }
Property Value
Stelem_I8
Declaration
public static Code.Stelem_I8_ Stelem_I8 { get; }
Property Value
Stelem_R4
Declaration
public static Code.Stelem_R4_ Stelem_R4 { get; }
Property Value
Stelem_R8
Declaration
public static Code.Stelem_R8_ Stelem_R8 { get; }
Property Value
Stelem_Ref
Declaration
public static Code.Stelem_Ref_ Stelem_Ref { get; }
Property Value
Stfld
Declaration
public static Code.Stfld_ Stfld { get; }
Property Value
Stind_I
Declaration
public static Code.Stind_I_ Stind_I { get; }
Property Value
Stind_I1
Declaration
public static Code.Stind_I1_ Stind_I1 { get; }
Property Value
Stind_I2
Declaration
public static Code.Stind_I2_ Stind_I2 { get; }
Property Value
Stind_I4
Declaration
public static Code.Stind_I4_ Stind_I4 { get; }
Property Value
Stind_I8
Declaration
public static Code.Stind_I8_ Stind_I8 { get; }
Property Value
Stind_R4
Declaration
public static Code.Stind_R4_ Stind_R4 { get; }
Property Value
Stind_R8
Declaration
public static Code.Stind_R8_ Stind_R8 { get; }
Property Value
Stind_Ref
Declaration
public static Code.Stind_Ref_ Stind_Ref { get; }
Property Value
Stloc
Declaration
public static Code.Stloc_ Stloc { get; }
Property Value
Stloc_0
Declaration
public static Code.Stloc_0_ Stloc_0 { get; }
Property Value
Stloc_1
Declaration
public static Code.Stloc_1_ Stloc_1 { get; }
Property Value
Stloc_2
Declaration
public static Code.Stloc_2_ Stloc_2 { get; }
Property Value
Stloc_3
Declaration
public static Code.Stloc_3_ Stloc_3 { get; }
Property Value
Stloc_S
Declaration
public static Code.Stloc_S_ Stloc_S { get; }
Property Value
Stobj
Declaration
public static Code.Stobj_ Stobj { get; }
Property Value
Stsfld
Declaration
public static Code.Stsfld_ Stsfld { get; }
Property Value
Sub
Declaration
public static Code.Sub_ Sub { get; }
Property Value
Sub_Ovf
Declaration
public static Code.Sub_Ovf_ Sub_Ovf { get; }
Property Value
Sub_Ovf_Un
Declaration
public static Code.Sub_Ovf_Un_ Sub_Ovf_Un { get; }
Property Value
Switch
Declaration
public static Code.Switch_ Switch { get; }
Property Value
Tailcall
Declaration
public static Code.Tailcall_ Tailcall { get; }
Property Value
Throw
Declaration
public static Code.Throw_ Throw { get; }
Property Value
Unaligned
Declaration
public static Code.Unaligned_ Unaligned { get; }
Property Value
Unbox
Declaration
public static Code.Unbox_ Unbox { get; }
Property Value
Unbox_Any
Declaration
public static Code.Unbox_Any_ Unbox_Any { get; }
Property Value
Volatile
Declaration
public static Code.Volatile_ Volatile { get; }
Property Value
Xor
Declaration
public static Code.Xor_ Xor { get; }
Property Value