6 references to MaxItemsInObjectGraph
System.Private.DataContractSerialization (6)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (4)
444
if (
MaxItemsInObjectGraph
== 0)
446
throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ExceededMaxItemsQuota,
MaxItemsInObjectGraph
));
491
if (
MaxItemsInObjectGraph
== 0)
493
throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ExceededMaxItemsQuota,
MaxItemsInObjectGraph
));
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
23
: base(serializer, serializer.
MaxItemsInObjectGraph
, new StreamingContext(StreamingContextStates.All), serializer.IgnoreExtensionDataObject)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
29
: base(serializer, serializer.
MaxItemsInObjectGraph
, new StreamingContext(StreamingContextStates.All), serializer.IgnoreExtensionDataObject)