protected bool PatchMethod(MethodDef methodToInline, InstructionPatcher patcher) { if (patcher == null) { return(false); } if (!IsReturn(methodToInline, patcher.afterIndex)) { return(false); } patcher.Patch(block); return(true); }
protected bool patchMethod(MethodDef methodToInline, InstructionPatcher patcher) { if (patcher == null) return false; if (!isReturn(methodToInline, patcher.afterIndex)) return false; patcher.patch(block); return true; }