Your
... public void InterfaceMethod()
will be marked as  Virtual, NewSlot, and Final. As you know, NewSlot
means that the method does not override one from the base class, i.e.
it is a newly-introduced virtual method. And there's no reason to mark
such a method as Final unless it's an interface method implementation.
Those 3 flags together are a sign of this situation.

However, if your MyClass had used
...  public virtual void InterfaceMethod()
then it would still implement the interface method, but wouldn't be
marked Final. As Lofti wrote, there's no way to know whether or not
this method implements one from an interface without searching all
implemented Interfaces for a match.
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to