Browse Source

Debug: restore DecompileAllCommand

pull/1405/head
Siegfried Pammer 7 years ago
parent
commit
cd99326f87
  1. 2
      ILSpy/Commands/DecompileAllCommand.cs

2
ILSpy/Commands/DecompileAllCommand.cs

@ -45,7 +45,7 @@ namespace ICSharpCode.ILSpy
Exception exception = null; Exception exception = null;
using (var writer = new System.IO.StreamWriter("c:\\temp\\decompiled\\" + asm.ShortName + ".cs")) { using (var writer = new System.IO.StreamWriter("c:\\temp\\decompiled\\" + asm.ShortName + ".cs")) {
try { try {
//new CSharpLanguage().DecompileAssembly(asm, new Decompiler.PlainTextOutput(writer), new DecompilationOptions() { FullDecompilation = true, CancellationToken = ct }); new CSharpLanguage().DecompileAssembly(asm, new Decompiler.PlainTextOutput(writer), new DecompilationOptions() { FullDecompilation = true, CancellationToken = ct });
} }
catch (Exception ex) { catch (Exception ex) {
writer.WriteLine(ex.ToString()); writer.WriteLine(ex.ToString());

Loading…
Cancel
Save