public static class CecilExtensions
{
public static bool IsDelegate(this TypeDefinition typeDefinition)
{
if (typeDefinition.BaseType == null)
{
return false;
}
return typeDefinition.BaseType.FullName == "System.MulticastDelegate";
}
}
> --
> --
> mono-cecil
I thought there is an easier way, a flag somewhere which I missed.
Joe
> --
> --
> mono-cecil
--
Kindest regards
Joe Robe
President
RobeSoft Inc.
Phone:+1 954 234 2662
Fax:+1 813 425-9759
EMail:Joe...@RobeSoft.com
Skype:joer00
Yahoo Messenger ONLY(do not send email):joer...@yahoo.com
MSN:Messenger ONLY(do not send email):joer...@hotmail.com
www.RobeSoft.com