3 writes to MaxDepth
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (3)
XmlSerializerInputFormatterTest.cs (3)
406formatter.MaxDepth = 10; 433formatter.MaxDepth = 1; 469Assert.Throws<ArgumentOutOfRangeException>(() => formatter.MaxDepth = 0);