1 write to DateOfBirth
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (1)
1044
DateOfBirth
= new DateTime(1900, 1, 1)
3 references to DateOfBirth
Microsoft.AspNetCore.Mvc.Core.Test (3)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (3)
1024
var propertyMetadata = bindingContext.ModelMetadata.Properties[nameof(model.
DateOfBirth
)];
1034
Assert.Equal(new DateTime(2001, 1, 1), model.
DateOfBirth
);
1183
if (value <
DateOfBirth
)