-Added set indexer to JToken

This commit is contained in:
JamesNK
2009-09-18 21:38:50 +00:00
parent 379c3ce09b
commit fac4f481b3
8 changed files with 150 additions and 0 deletions
+1
View File
@@ -234,6 +234,7 @@ namespace Newtonsoft.Json.Linq
public virtual JToken this[object key]
{
get { throw new InvalidOperationException("Cannot access child value on {0}.".FormatWith(CultureInfo.InvariantCulture, GetType())); }
set { throw new InvalidOperationException("Cannot set child value on {0}.".FormatWith(CultureInfo.InvariantCulture, GetType())); }
}
/// <summary>