3 writes to MaxStringContentLength
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
FormattingUtilities.cs (1)
29MaxStringContentLength = int.MaxValue
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
XmlDataContractSerializerInputFormatterTest.cs (1)
437formatter.XmlDictionaryReaderQuotas.MaxStringContentLength = 2;
XmlSerializerInputFormatterTest.cs (1)
454formatter.XmlDictionaryReaderQuotas.MaxStringContentLength = 10;
9 references to MaxStringContentLength
System.Private.DataContractSerialization (7)
System\Xml\XmlBaseReader.cs (3)
1536if (value.Length > _quotas.MaxStringContentLength) 1537XmlExceptionHelper.ThrowMaxStringContentLengthExceeded(this, _quotas.MaxStringContentLength); 1541return base.ReadContentAsString(_quotas.MaxStringContentLength);
System\Xml\XmlBinaryReader.cs (2)
112if (value.Length > Quotas.MaxStringContentLength) 113XmlExceptionHelper.ThrowMaxStringContentLengthExceeded(this, Quotas.MaxStringContentLength);
System\Xml\XmlDictionaryReader.cs (2)
383return ReadContentAsString(Quotas.MaxStringContentLength); 450return ReadString(Quotas.MaxStringContentLength);
UnitTests.Common (2)
TestHelpers.cs (2)
29&& a.MaxStringContentLength == b.MaxStringContentLength;