CmdPal: mark CommandProvider.Dispose as virtual (#41184)
Some checks failed
Spell checking / Check Spelling (push) Has been cancelled
Spell checking / Report (Push) (push) Has been cancelled
Spell checking / Report (PR) (push) Has been cancelled
Spell checking / Update PR (push) Has been cancelled

If your provider wants to implement this, they should be able to
This commit is contained in:
Mike Griese 2025-08-18 16:52:49 -05:00 committed by GitHub
parent 2f6876b85f
commit 8737de29af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,7 @@ public abstract partial class CommandProvider : ICommandProvider
public virtual void InitializeWithHost(IExtensionHost host) => ExtensionHost.Initialize(host);
#pragma warning disable CA1816 // Dispose methods should call SuppressFinalize
public void Dispose()
public virtual void Dispose()
{
}
#pragma warning restore CA1816 // Dispose methods should call SuppressFinalize