3 instantiations of DepthObject
Microsoft.AspNetCore.Mvc.Core.Test (3)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (3)
1272var model = new DepthObject(maxDepth); 1292var model = new DepthObject(maxDepth - 1); 1686return new DepthObject(MaxAllowedDepth, Depth + 1);
6 references to DepthObject
Microsoft.AspNetCore.Mvc.Core.Test (6)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (6)
1267var expected = $"ValidationVisitor exceeded the maximum configured validation depth '{maxDepth}' when validating property '{nameof(DepthObject.Depth)}' on type '{typeof(DepthObject)}'. " + 1272var model = new DepthObject(maxDepth); 1292var model = new DepthObject(maxDepth - 1); 1618private void Validate_Throws_ForTopLevelMetadataData(DepthObject depthObject) { } 1677public DepthObject Instance