3 writes to MaxDepth
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (3)
XmlDataContractSerializerInputFormatterTest.cs (3)
399
formatter.
MaxDepth
= 10;
421
formatter.
MaxDepth
= 1;
452
Assert.Throws<ArgumentOutOfRangeException>(() => formatter.
MaxDepth
= 0);