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