Fixed derived types not being detected when solving dependencies 

Type.IsEquivalentTo returns false when one type is inherited from another