diff --git a/buildpackLocal.bat b/buildpackLocal.bat new file mode 100644 index 0000000000..44038b4f98 --- /dev/null +++ b/buildpackLocal.bat @@ -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 diff --git a/src/Microsoft.IdentityModel.Tokens/EventBasedLRUCache.cs b/src/Microsoft.IdentityModel.Tokens/EventBasedLRUCache.cs index b188e6f84b..64e3a70fed 100644 --- a/src/Microsoft.IdentityModel.Tokens/EventBasedLRUCache.cs +++ b/src/Microsoft.IdentityModel.Tokens/EventBasedLRUCache.cs @@ -81,6 +81,15 @@ internal class EventBasedLRUCache internal ItemExpired OnItemExpired { get; set; } + /// + /// For back compat any friend would be broken, this is the same as OnItemExpired. + /// + internal ItemExpired OnItemRemoved + { + get { return OnItemExpired; } + set { OnItemExpired = value; } + } + internal ItemCompacted OnItemMovedToCompactedList { get; set; } internal ItemRemoved OnItemRemovedFromCompactedList { get; set; }