public static bool IsValueType <T>(this ConvertBinder binder) where T : struct { return(binder.IsType <T>() || binder.Type == typeof(T?)); }