1 write to Depth
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (1)
1670
Depth
= depth;
3 references to Depth
Microsoft.AspNetCore.Mvc.Core.Test (3)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (3)
1267
var expected = $"ValidationVisitor exceeded the maximum configured validation depth '{maxDepth}' when validating property '{nameof(DepthObject.
Depth
)}' on type '{typeof(DepthObject)}'. " +
1681
if (
Depth
== MaxAllowedDepth - 1)
1686
return new DepthObject(MaxAllowedDepth,
Depth
+ 1);