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