|
|
|
@ -41,7 +41,7 @@ namespace ICSharpCode.ILSpy
@@ -41,7 +41,7 @@ namespace ICSharpCode.ILSpy
|
|
|
|
|
if (!asm.HasLoadError) { |
|
|
|
|
Stopwatch w = Stopwatch.StartNew(); |
|
|
|
|
Exception exception = null; |
|
|
|
|
using (var writer = new System.IO.StreamWriter("c:\\temp\\disassembled\\" + asm.ShortName + ".il")) { |
|
|
|
|
using (var writer = new System.IO.StreamWriter("c:\\temp\\disassembled\\" + asm.Text.Replace("(", "").Replace(")", "").Replace(' ', '_') + ".il")) { |
|
|
|
|
try { |
|
|
|
|
new ILLanguage().DecompileAssembly(asm, new Decompiler.PlainTextOutput(writer), new DecompilationOptions { FullDecompilation = true, CancellationToken = ct }); |
|
|
|
|
} |
|
|
|
|