static MethodInfo GetNullableHasValue(Type type)
{
MethodInfo method;
if (_Nullable_HasValue.TryGetValue(type, out method))
return method;
method = Types.Nullable.MakeGenericType(new Type[] {type}).GetProperty("HasValue").GetGetMethod();
_Nullable_HasValue.Add(type, method);
return method;
}