-Upgraded to Immutable Collections RTM

-Added missing CLSCompliant attributes
This commit is contained in:
James Newton-King
2013-09-30 21:53:19 +13:00
parent 327dbefa93
commit e77fdf285b
18 changed files with 135 additions and 4437 deletions
+4
View File
@@ -739,6 +739,7 @@ namespace Newtonsoft.Json.Linq
/// </summary>
/// <param name="value">The value.</param>
/// <returns>The result of the conversion.</returns>
[CLSCompliant(false)]
public static explicit operator sbyte(JToken value)
{
JValue v = EnsureValue(value);
@@ -847,6 +848,7 @@ namespace Newtonsoft.Json.Linq
/// </summary>
/// <param name="value">The value.</param>
/// <returns>The result of the conversion.</returns>
[CLSCompliant(false)]
public static explicit operator sbyte?(JToken value)
{
if (value == null)
@@ -1289,6 +1291,7 @@ namespace Newtonsoft.Json.Linq
/// </summary>
/// <param name="value">The value to create a <see cref="JValue"/> from.</param>
/// <returns>The <see cref="JValue"/> initialized with the specified value.</returns>
[CLSCompliant(false)]
public static implicit operator JToken(sbyte value)
{
return new JValue(value);
@@ -1299,6 +1302,7 @@ namespace Newtonsoft.Json.Linq
/// </summary>
/// <param name="value">The value to create a <see cref="JValue"/> from.</param>
/// <returns>The <see cref="JValue"/> initialized with the specified value.</returns>
[CLSCompliant(false)]
public static implicit operator JToken(sbyte? value)
{
return new JValue(value);