Replace string literal with nameof() expression

このコミットが含まれているのは:
Sergio Pedri committed 2023-01-17 01:06:26 +01:00
1 親 1b77d4fe51
コミット 73bda514de
1ファイル変更
+1 -1
+1 -1
ファイルの表示
@@ -32,7 +32,7 @@ public sealed partial class MainView : UserControl
{
App.Current.Services.GetRequiredService<IAnalyticsService>().Log(Event.OpenShaderSelectionPanel);
_ = this.Root.Resources.Remove("ShaderSelectionPanel");
_ = this.Root.Resources.Remove(nameof(this.ShaderSelectionPanel));
this.Root.Children.Add(this.ShaderSelectionPanel);
}