public MethodPatcher(PatcherObject prnt, MethodDefinition metDef) : base(prnt) { methodDefinition = metDef; IlProc = metDef.Body.GetILProcessor(); rootAssemblyPatcher = prnt.rootAssemblyPatcher; if (MainClass.gendiffs && MainClass.newAssCS) { original = metDef.Print(); } }
public PatcherObject(PatcherObject prnt) { parent = prnt; }
public TypePatcher(PatcherObject prnt, TypeDefinition typDef) : base(prnt) { typeDefinition = typDef; rootAssemblyPatcher = prnt.rootAssemblyPatcher; }