Hi,
Would it make sense to include a property called IsEntryPoint in
Mono.Cecil.MethodDefinition?
Code that can be added is
public bool IsEntryPoint {
get {
//Taken the following from Mono.Disassembler but I think
comparing fully
// Qualified Names instead of body would be better.
return (m_module.Assembly.EntryPoint != null &&
(m_module.Assembly.EntryPoint. Body.ToString () == m_body.ToString
()));
}
}
Regards,
Karan Sev
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---