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