3 references to UserAlreadyInRole
Microsoft.AspNetCore.Identity.Specification.Tests (1)
IdentitySpecificationTestBase.cs (1)
508IdentityResultAssert.IsFailure(await userMgr.AddToRoleAsync(user, roleName), _errorDescriber.UserAlreadyInRole(roleName));
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
432IdentityResultAssert.IsFailure(result, new IdentityErrorDescriber().UserAlreadyInRole("B"));
Microsoft.Extensions.Identity.Core (1)
UserManager.cs (1)
1173return IdentityResult.Failed(ErrorDescriber.UserAlreadyInRole(role));