Skip to content

Commit 07a4b92

Browse files
committed
Fix backcompat breaK
1 parent a77a393 commit 07a4b92

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

buildpackLocal.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dotnet clean Product.proj > clean.log
2+
dotnet build /r Product.proj
3+
dotnet pack --no-restore -o c:\localpackages --no-build Product.proj

src/Microsoft.IdentityModel.Tokens/EventBasedLRUCache.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ internal class EventBasedLRUCache<TKey, TValue>
8181

8282
internal ItemExpired OnItemExpired { get; set; }
8383

84+
/// <summary>
85+
/// For back compat any friend would be broken, this is the same as OnItemExpired.
86+
/// </summary>
87+
internal ItemExpired OnItemRemoved
88+
{
89+
get { return OnItemExpired; }
90+
set { OnItemExpired = value; }
91+
}
92+
8493
internal ItemCompacted OnItemMovedToCompactedList { get; set; }
8594

8695
internal ItemRemoved OnItemRemovedFromCompactedList { get; set; }

0 commit comments

Comments
 (0)