/// <summary> /// Write out a CIL text file for this PE file /// </summary> /// <param name="debug">include debug information</param> public void WriteCILFile(bool debug) { string cilFile = fileName.Substring(0,fileName.IndexOf('.')) + ".il"; CILWriter writer = new CILWriter(cilFile, debug, this); writer.BuildCILInfo(); writer.WriteFile(debug); }