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