/// <summary>
 /// Converts the given <paramref name="value"/> to a corresponding CLR type. Expects the
 /// <paramref name="value"/> to have already been properly unescaped from an actual Uri.
 /// </summary>
 /// <param name="value">Value from a Uri to be converted.</param>
 /// <param name="version">Version to be compliant with.</param>
 /// <returns>A CLR object that the <paramref name="value"/> represents (won't be EnumNode).</returns>
 public static object ConvertFromUriLiteral(string value, ODataVersion version)
 {
     return(ODataUriUtils.ConvertFromUriLiteral(value, version, null, null));
 }
 public static string ConvertToUriLiteral(object value, ODataVersion version)
 {
     return(ODataUriUtils.ConvertToUriLiteral(value, version, null));
 }