Ensure that Resharper does not remove the partial modifier from JSON contexts.

This commit is contained in:
2022-12-16 20:27:55 +00:00
parent b3b8c026d0
commit 4b75b226f2
3 changed files with 4 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ namespace Aaru.Settings;
[JsonSourceGenerationOptions(WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
IncludeFields = true)]
[JsonSerializable(typeof(DicSettings))]
// ReSharper disable once PartialTypeWithSinglePart
public partial class SettingsContext : JsonSerializerContext {}
/// <summary>Settings</summary>