From 82ba4af51a811d626e63ccdc300ee78decd30145 Mon Sep 17 00:00:00 2001 From: Tig Date: Wed, 25 Sep 2024 10:43:23 -0600 Subject: [PATCH] Fixed bdisp feedback --- NativeAot/Properties/launchSettings.json | 2 +- Terminal.Gui/Configuration/SettingsScope.cs | 3 --- .../Configuration/SerializableConfigurationPropertyTests.cs | 4 ++-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/NativeAot/Properties/launchSettings.json b/NativeAot/Properties/launchSettings.json index a66f387c4..a7872f001 100644 --- a/NativeAot/Properties/launchSettings.json +++ b/NativeAot/Properties/launchSettings.json @@ -3,7 +3,7 @@ "NativeAot": { "commandName": "Project" }, - "WSL : UICatalog": { + "WSL : NativeAot": { "commandName": "Executable", "executablePath": "wsl", "commandLineArgs": "dotnet NativeAot.dll", diff --git a/Terminal.Gui/Configuration/SettingsScope.cs b/Terminal.Gui/Configuration/SettingsScope.cs index 651202470..b9eb16cfe 100644 --- a/Terminal.Gui/Configuration/SettingsScope.cs +++ b/Terminal.Gui/Configuration/SettingsScope.cs @@ -1,12 +1,9 @@ #nullable enable using System.Diagnostics; using System.Diagnostics.CodeAnalysis; -using System.IO; -using System.Net.Security; using System.Reflection; using System.Text.Json; using System.Text.Json.Serialization; -using static Terminal.Gui.SpinnerStyle; namespace Terminal.Gui; diff --git a/UnitTests/Configuration/SerializableConfigurationPropertyTests.cs b/UnitTests/Configuration/SerializableConfigurationPropertyTests.cs index bbf0fc2e6..392615df1 100644 --- a/UnitTests/Configuration/SerializableConfigurationPropertyTests.cs +++ b/UnitTests/Configuration/SerializableConfigurationPropertyTests.cs @@ -46,8 +46,8 @@ public class SerializableConfigurationPropertyTests // Ensure no property has the generic JsonStringEnumConverter<> EnsureNoSpecifiedConverters (properties, new [] { typeof (JsonStringEnumConverter<>) }); - /// Ensure no property has the type RuneJsonConverter - //EnsureNoSpecifiedConverters (properties, new [] { typeof (RuneJsonConverter) }); + // Ensure no property has the type RuneJsonConverter + EnsureNoSpecifiedConverters (properties, new [] { typeof (RuneJsonConverter) }); // Ensure no property has the type KeyJsonConverter EnsureNoSpecifiedConverters (properties, new [] { typeof (KeyJsonConverter) });