1 override of DuplicateEmail
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
1783
public override IdentityError
DuplicateEmail
(string email)
3 references to DuplicateEmail
Microsoft.AspNetCore.Identity.Specification.Tests (2)
UserManagerSpecificationTests.cs (2)
312
IdentityResultAssert.IsFailure(await manager.SetEmailAsync(newUser, newEmail), _errorDescriber.
DuplicateEmail
(newEmail));
874
IdentityResultAssert.IsFailure(await manager.CreateAsync(user2), _errorDescriber.
DuplicateEmail
("FooUser@yup.com"));
Microsoft.Extensions.Identity.Core (1)
UserValidator.cs (1)
102
errors.Add(Describer.
DuplicateEmail
(email));