未验证 提交 e0da1a7c 编写于 作者: S Sam Harwell 提交者: GitHub

Merge pull request #47901 from sharwell/get-text-synchronously

Use GetTextSynchronously where appropriate
......@@ -79,7 +79,7 @@ internal class InlineRenameService : IInlineRenameService
return new InlineRenameSessionInfo(renameInfo.LocalizedErrorMessage);
}
var snapshot = document.GetTextAsync(cancellationToken).WaitAndGetResult(cancellationToken).FindCorrespondingEditorTextSnapshot();
var snapshot = document.GetTextSynchronously(cancellationToken).FindCorrespondingEditorTextSnapshot();
ActiveSession = new InlineRenameSession(
_threadingContext,
this,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册