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