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