Cecil only populates the Overrides collection with those that appear
explicitly in the metadata, corresponding to the .override IL
directive. This directive is rarely used, only when you need to
override (from a base class) or implement (from an interface) a method
with the same arguments/return but with a different name. Few high-
level languages provide a means for you to do this, and compilers
typically don't create explicit override entries for implicit
overrides.

A method can be overridden/implemented simply by matching name and
signature. These don't require an entry in the metadata, and won't
appear in the Overrides collection in Cecil. To find them, you have to
search the base class and parent interfaces for methods with the same
name and signature.
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to