-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove !
from Microsoft.Extensions.Caching.Abstractions
#64147
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @dotnet/area-extensions-caching Issue DetailsThis is a blanket issue for all Left to be fixed/reviewed:
|
@eerhardt There is only one runtime/src/libraries/Microsoft.Extensions.Caching.Abstractions/src/CacheEntryExtensions.cs Lines 175 to 178 in b9b5fef
I don't think it's a bug because it doesn't make any sense to register null callbacks. Is it fine to just add null-check (with throwing) before invocation and remove last |
Yes, I think that is a fine solution here. Check if it |
This is a blanket issue for all
!
operations that were added in #64018They should be removed or reviewed.
Left to be fixed/reviewed:
Microsoft.Extensions.Caching.Abstractions
#64018 (comment) (40d8838)The text was updated successfully, but these errors were encountered: