优化空引用

This commit is contained in:
2026-02-23 15:05:15 +08:00
parent 5a3a368a2e
commit 1d939d52ed
10 changed files with 9 additions and 51 deletions

View File

@@ -87,7 +87,7 @@ namespace Melskin.Appearance
foreach (var key in dict.Keys.OfType<object>())
{
if (dict[key] is SolidColorBrush)
keys.Add(key.ToString());
keys.Add(key.ToString()!);
}
}