use more PCL friendly IsAssignableFromType() ext method