提交 e9887018 编写于 作者: C Cyrus Najmabadi

Add the name of the current type to the exception we throw in an unsupported case.

上级 41fa23e1
......@@ -170,7 +170,7 @@ protected virtual Task<IEnumerable<CodeActionOperation>> ComputePreviewOperation
/// </remarks>
/// <exception cref="NotSupportedException">If this code action does not support changing a single document.</exception>
protected virtual Task<Document> GetChangedDocumentAsync(CancellationToken cancellationToken)
=> throw new NotSupportedException();
=> throw new NotSupportedException(GetType().FullName);
/// <summary>
/// used by batch fixer engine to get new solution
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册