From 4faceef29733eec74c13ff99b83c8542c096d5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Pol=C3=A1=C5=A1ek?= Date: Thu, 12 Feb 2026 19:09:49 +0100 Subject: [PATCH] Mark static classes as static --- .../Components/ContextMenuHelper.cs | 2 +- .../Microsoft.CmdPal.Ext.WindowWalker/Components/LivePreview.cs | 2 +- .../cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Icons.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Components/ContextMenuHelper.cs b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Components/ContextMenuHelper.cs index 929c3b1bf2..cfbdb12210 100644 --- a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Components/ContextMenuHelper.cs +++ b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Components/ContextMenuHelper.cs @@ -12,7 +12,7 @@ using Windows.System; namespace Microsoft.CmdPal.Ext.WindowWalker.Components; -internal sealed class ContextMenuHelper +internal static class ContextMenuHelper { internal static List GetContextMenuResults(in WindowWalkerListItem listItem) { diff --git a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Components/LivePreview.cs b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Components/LivePreview.cs index 5b71f7bf88..936860dbb0 100644 --- a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Components/LivePreview.cs +++ b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Components/LivePreview.cs @@ -11,7 +11,7 @@ namespace Microsoft.CmdPal.Ext.WindowWalker.Components; /// /// Class containing methods to control the live preview /// -internal sealed class LivePreview +internal static class LivePreview { /// /// Makes sure that a window is excluded from the live preview diff --git a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Icons.cs b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Icons.cs index dd2ae9b1cb..fbd8928ab3 100644 --- a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Icons.cs +++ b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Icons.cs @@ -6,7 +6,7 @@ using Microsoft.CommandPalette.Extensions.Toolkit; namespace Microsoft.CmdPal.Ext.WindowWalker; -internal sealed class Icons +internal static class Icons { internal static IconInfo WindowWalkerIcon { get; } = IconHelpers.FromRelativePath("Assets\\WindowWalker.svg");