This question already has answers here:
Get all derived types of a type
(8 answers)
Closed 6 years ago.
class Foo { }
class Foo1 : Foo { }
class Foo2 : Foo { }
How would I be able to get all the classes that use Foo as a base class? The inherited classes aren't necessary in the same assembly.