From e9887018f701390eab85616a0f3cd96dc682b85e Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Tue, 21 Jul 2020 11:37:12 -0700 Subject: [PATCH] Add the name of the current type to the exception we throw in an unsupported case. --- src/Workspaces/Core/Portable/CodeActions/CodeAction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Workspaces/Core/Portable/CodeActions/CodeAction.cs b/src/Workspaces/Core/Portable/CodeActions/CodeAction.cs index 6605a5bd196..d83155832a3 100644 --- a/src/Workspaces/Core/Portable/CodeActions/CodeAction.cs +++ b/src/Workspaces/Core/Portable/CodeActions/CodeAction.cs @@ -170,7 +170,7 @@ protected virtual Task> ComputePreviewOperation /// /// If this code action does not support changing a single document. protected virtual Task GetChangedDocumentAsync(CancellationToken cancellationToken) - => throw new NotSupportedException(); + => throw new NotSupportedException(GetType().FullName); /// /// used by batch fixer engine to get new solution -- GitLab