ps. One of the other posts here suggested looking at the SequencePoint on
the Body.Instructions. But all Sequence Points are Null.....
foreach (MethodDefinition md in td.Methods)
{
// Log the content to the console
Log(td.Name + " > " + md.Name);
//MethodBody mbody = new MethodBody(md);
if (md.Body.Instructions.Count > 0)
{
if (md.Body.Instructions[0].SequencePoint !=
null)
{
SequencePoint sp =
md.Body.Instructions[0].SequencePoint;
}
}
}
--
--
--
mono-cecil
---
You received this message because you are subscribed to the Google Groups
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.