Skip to content

Commit

Permalink
Fix backcompat breaK
Browse files Browse the repository at this point in the history
  • Loading branch information
HP712 committed Jul 12, 2024
1 parent a77a393 commit 07a4b92
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions buildpackLocal.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dotnet clean Product.proj > clean.log
dotnet build /r Product.proj
dotnet pack --no-restore -o c:\localpackages --no-build Product.proj
9 changes: 9 additions & 0 deletions src/Microsoft.IdentityModel.Tokens/EventBasedLRUCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ internal class EventBasedLRUCache<TKey, TValue>

internal ItemExpired OnItemExpired { get; set; }

/// <summary>
/// For back compat any friend would be broken, this is the same as OnItemExpired.
/// </summary>
internal ItemExpired OnItemRemoved
{
get { return OnItemExpired; }
set { OnItemExpired = value; }
}

internal ItemCompacted OnItemMovedToCompactedList { get; set; }

internal ItemRemoved OnItemRemovedFromCompactedList { get; set; }
Expand Down

0 comments on commit 07a4b92

Please sign in to comment.