Gets the type from which the specified Type directly inherits.
public static Type? GetBaseType(this Type type)