4 writes to MaxDepth
Microsoft.AspNetCore.Mvc.Formatters.Xml (3)
FormattingUtilities.cs (1)
27MaxDepth = DefaultMaxDepth,
XmlDataContractSerializerInputFormatter.cs (1)
61set { _readerQuotas.MaxDepth = value; }
XmlSerializerInputFormatter.cs (1)
58set { _readerQuotas.MaxDepth = value; }
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\EncoderHelpers.cs (1)
41bufferedReadQuotas.MaxDepth = EncoderDefaults.BufferedReadDefaultMaxDepth;
12 references to MaxDepth
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
XmlDataContractSerializerInputFormatter.cs (1)
60get { return _readerQuotas.MaxDepth; }
XmlSerializerInputFormatter.cs (1)
57get { return _readerQuotas.MaxDepth; }
System.Private.DataContractSerialization (2)
System\Xml\XmlBaseReader.cs (2)
266if (_depth > _quotas.MaxDepth) 267XmlExceptionHelper.ThrowMaxDepthExceeded(this, _quotas.MaxDepth);
System.ServiceModel.Primitives (6)
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (2)
262if (_readerQuotas.MaxDepth != binary.ReaderQuotas.MaxDepth)
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (2)
214if (_readerQuotas.MaxDepth != mtom.ReaderQuotas.MaxDepth)
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (2)
211if (_readerQuotas.MaxDepth != text.ReaderQuotas.MaxDepth)
UnitTests.Common (2)
TestHelpers.cs (2)
27&& a.MaxDepth == b.MaxDepth