From 41fa99e9f329180c2e956b3a092af3f13e1fc357 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Thu, 10 Mar 2016 14:32:00 -0800 Subject: [PATCH] Make ThrowIfDisposed protected --- src/Microsoft.AspNetCore.Identity/RoleManager.cs | 2 +- src/Microsoft.AspNetCore.Identity/UserManager.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.AspNetCore.Identity/RoleManager.cs b/src/Microsoft.AspNetCore.Identity/RoleManager.cs index e7c30ce0c..3b54ee1e7 100644 --- a/src/Microsoft.AspNetCore.Identity/RoleManager.cs +++ b/src/Microsoft.AspNetCore.Identity/RoleManager.cs @@ -456,7 +456,7 @@ private IRoleClaimStore GetClaimStore() return cast; } - private void ThrowIfDisposed() + protected void ThrowIfDisposed() { if (_disposed) { diff --git a/src/Microsoft.AspNetCore.Identity/UserManager.cs b/src/Microsoft.AspNetCore.Identity/UserManager.cs index 59bf64b61..1e201d09b 100644 --- a/src/Microsoft.AspNetCore.Identity/UserManager.cs +++ b/src/Microsoft.AspNetCore.Identity/UserManager.cs @@ -2265,7 +2265,7 @@ private IUserPasswordStore GetPasswordStore() return cast; } - private void ThrowIfDisposed() + protected void ThrowIfDisposed() { if (_disposed) {