Caching: qualify FormatNumber at the single-file flush guard
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d44188637d
commit
afd4858b9a
1 changed files with 1 additions and 1 deletions
|
|
@ -3565,7 +3565,7 @@ namespace GameCult.Caching
|
|||
return;
|
||||
}
|
||||
|
||||
if (FormatNumber(header) is int number && number > 2)
|
||||
if (CultPersistedStoreSnapshot.FormatNumber(header) is int number && number > 2)
|
||||
throw new NotSupportedException(
|
||||
$"Store {FileInfo.FullName} is {header}, a newer format than this runtime reads " +
|
||||
$"({CultPersistedStoreSnapshot.FormatV1} and {CultPersistedStoreSnapshot.FormatV2}); a flush would downgrade it, so none was written.");
|
||||
|
|
|
|||
Loading…
Reference in a new issue