From 2ccf14e13de2cd75b4aed3561e303708aa96085b Mon Sep 17 00:00:00 2001 From: Brandon Thetford Date: Thu, 20 Jun 2024 21:03:25 -0700 Subject: [PATCH] Commentary about trim incompatibility --- Terminal.Gui/Configuration/SettingsScope.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Terminal.Gui/Configuration/SettingsScope.cs b/Terminal.Gui/Configuration/SettingsScope.cs index d77a82b5e..145ad3cdc 100644 --- a/Terminal.Gui/Configuration/SettingsScope.cs +++ b/Terminal.Gui/Configuration/SettingsScope.cs @@ -118,6 +118,9 @@ public class SettingsScope : Scope return this; } + // BUG: Not trim-compatible + // Not a bug, per se, but it's easily fixable by just loading the file. + // Defaults can just be field initializers for involved types. using Stream? stream = assembly.GetManifestResourceStream (resourceName)!; if (stream is null)