2 instantiations of User
Microsoft.Extensions.Validation.Tests (2)
ValidatableTypeInfoTests.cs (2)
424
var user = new
User
{ Password = "abc" }; // Too short and not complex enough
512
var user = new
User
{ Password = null }; // Invalid: required
8 references to User
Microsoft.Extensions.Validation.Tests (8)
ValidatableTypeInfoTests.cs (8)
414
typeof(
User
),
416
CreatePropertyInfo(typeof(
User
), typeof(string), "Password", "Password",
424
var
user = new User { Password = "abc" }; // Too short and not complex enough
429
{ typeof(
User
), userType }
506
typeof(
User
),
508
CreatePropertyInfo(typeof(
User
), typeof(string), "Password", "Password",
512
var
user = new User { Password = null }; // Invalid: required
517
{ typeof(
User
), userType }