2 instantiations of User
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
Validation\ValidatableTypeInfoTests.cs (2)
381
var user = new
User
{ Password = "abc" }; // Too short and not complex enough
469
var user = new
User
{ Password = null }; // Invalid: required
8 references to User
Microsoft.AspNetCore.Http.Abstractions.Tests (8)
Validation\ValidatableTypeInfoTests.cs (8)
371
typeof(
User
),
373
CreatePropertyInfo(typeof(
User
), typeof(string), "Password", "Password",
381
var
user = new User { Password = "abc" }; // Too short and not complex enough
386
{ typeof(
User
), userType }
463
typeof(
User
),
465
CreatePropertyInfo(typeof(
User
), typeof(string), "Password", "Password",
469
var
user = new User { Password = null }; // Invalid: required
474
{ typeof(
User
), userType }