提交 ef5a8510 编写于 作者: A Abraham Hosch

Fix cancellation token bug in `AbstractRemoveDocCommentNodeCodeFixProvider`

上级 146ea250
...@@ -25,7 +25,7 @@ internal abstract class AbstractRemoveDocCommentNodeCodeFixProvider<TXmlElementS ...@@ -25,7 +25,7 @@ internal abstract class AbstractRemoveDocCommentNodeCodeFixProvider<TXmlElementS
public async sealed override Task RegisterCodeFixesAsync(CodeFixContext context) public async sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
{ {
var root = await context.Document.GetSyntaxRootAsync().ConfigureAwait(false); var root = await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false);
if (GetParamNode(root, context.Span) != null) if (GetParamNode(root, context.Span) != null)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册