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