Regarding Cecil.Decompiler:
var method = GetProgramMethod(file, name);
var cfg = ControlFlowGraph.Create(method);
FormatControlFlowGraph(Console.Out, cfg);
var language = CSharp.GetLanguage(CSharpVersion.V3);
var writer = language.GetWriter(new
PlainTextFormatter(Console.Out));
writer.Write(method);
Can I call a method from another solution instead, replacing the variable
"file"?
I tried putting in the path of the file, but it doesn't work...
Thanks!
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---