Skip to content

Commit a989bb1

Browse files
authored
Make RoleStore protected virtual (#38061)
1 parent c440ebc commit a989bb1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
#nullable enable
2+
~virtual Microsoft.AspNetCore.Identity.EntityFrameworkCore.RoleStore<TRole, TContext, TKey, TUserRole, TRoleClaim>.SaveChanges(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task

src/Identity/EntityFrameworkCore/src/RoleStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public RoleStore(TContext context, IdentityErrorDescriber describer = null)
121121
/// <summary>Saves the current store.</summary>
122122
/// <param name="cancellationToken">The <see cref="CancellationToken"/> used to propagate notifications that the operation should be canceled.</param>
123123
/// <returns>The <see cref="Task"/> that represents the asynchronous operation.</returns>
124-
private async Task SaveChanges(CancellationToken cancellationToken)
124+
protected virtual async Task SaveChanges(CancellationToken cancellationToken)
125125
{
126126
if (AutoSaveChanges)
127127
{

0 commit comments

Comments
 (0)