-Added MetadataPropertyHandling.Ignore

This commit is contained in:
James Newton-King
2014-07-20 18:29:31 +12:00
parent 07baae515a
commit e32b4671c8
5 changed files with 180 additions and 15 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ namespace Newtonsoft.Json
get { return _metadataPropertyHandling; }
set
{
if (value < MetadataPropertyHandling.Default || value > MetadataPropertyHandling.ReadAhead)
if (value < MetadataPropertyHandling.Default || value > MetadataPropertyHandling.Ignore)
throw new ArgumentOutOfRangeException("value");
_metadataPropertyHandling = value;