Пример #1
0
        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();
            }
        }
Пример #2
0
 public PatcherObject(PatcherObject prnt)
 {
     parent = prnt;
 }
Пример #3
0
 public TypePatcher(PatcherObject prnt, TypeDefinition typDef) : base(prnt)
 {
     typeDefinition      = typDef;
     rootAssemblyPatcher = prnt.rootAssemblyPatcher;
 }