WriteFile() public method

public WriteFile ( bool debug ) : void
debug bool
return void
Exemplo n.º 1
0
 /// <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);
 }