Need help quick regarding MSIL #2514
Unanswered
xx7Ahmed7xx
asked this question in
Help
Replies: 1 comment
-
Sorry, I don't exactly understand the question: // produce AST
var syntaxTree = decompiler.DecompileWholeModuleAsSingleFile();
// produce string
StringWriter output = new StringWriter();
var visitor = new CSharpOutputVisitor(output, FormattingOptionsFactory.CreateSharpDevelop());
syntaxTree.AcceptVisitor(visitor);
// write to file
string fileName = Path.GetTempFileName();
File.WriteAllText(fileName, output.ToString()); Hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How exactly to convert MSIL that i got using "DecompileWholeModuleAsSingleFile()" into C# code ??
Beta Was this translation helpful? Give feedback.
All reactions