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