Example #1
0
        public static void Save(this AssemblyDefinition lib, string outPath)
        {
            if (outPath == null || outPath.Length == 0)
            {
                throw new ArgumentException("Parameter `outPath` is invalid!");
            }

            lib.AddPatchMark();

            // Store the assembly
            lib.Write(outPath);
        }