Commentary about trim incompatibility

This commit is contained in:
Brandon Thetford
2024-06-20 21:03:25 -07:00
parent 1a68656d66
commit 2ccf14e13d

View File

@@ -118,6 +118,9 @@ public class SettingsScope : Scope<SettingsScope>
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)