I am trying to use reflection to determine which methods a derived class overrides from a base class. It is fairly easy to determine if the method is not overridden, but trying to determine if a method is overridden in a base class, or simply created as virtual in the derived class is what I am trying to accomplish.
So, if Class A has virtual methods Process and Export, and Class B has virtual methods Process(overridden), and Display (new virtual method), I would like the following results when examining Class B;
- Methods Overridden: Process
- Methods Not Overridden: Export
I only want to deal with the Display method when examining a class that derives from Class B.