mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -111,7 +111,7 @@ public sealed class ArchiCacheable<T> : IDisposable {
|
||||
}
|
||||
|
||||
private (bool Success, T? Result) ReturnFailedValueFor(ECacheFallback cacheFallback, T? result = default) {
|
||||
if (!Enum.IsDefined(typeof(ECacheFallback), cacheFallback)) {
|
||||
if (!Enum.IsDefined(cacheFallback)) {
|
||||
throw new InvalidEnumArgumentException(nameof(cacheFallback), (int) cacheFallback, typeof(ECacheFallback));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user