I\'m working on a game engine in C#. The class I\'m working on is called CEntityRegistry, and its job is to keep track of the many instances of CEntity
CEntityRegistry
CEntity
Type has a property BaseType and a method FindInterfaces.
https://msdn.microsoft.com/en-us/library/system.type.aspx
So actually, it almost does have Type.GetAllBaseClassesAndInterfaces, but you have to make two calls instead of one.
Type.GetAllBaseClassesAndInterfaces