提交 09334e94 编写于 作者: H Heejae Chang

PR feedback.

上级 76e2e86e
......@@ -289,7 +289,7 @@ public async Task<SourceText> GetTextAsync(CancellationToken cancellationToken)
return text;
}
var textAndVersion = await GetTextAndVersoinAsync(cancellationToken).ConfigureAwait(false);
var textAndVersion = await GetTextAndVersionAsync(cancellationToken).ConfigureAwait(false);
return textAndVersion.Text;
}
......@@ -313,7 +313,7 @@ public async Task<VersionStamp> GetTextVersionAsync(CancellationToken cancellati
return version;
}
var textAndVersion = await GetTextAndVersoinAsync(cancellationToken).ConfigureAwait(false);
var textAndVersion = await GetTextAndVersionAsync(cancellationToken).ConfigureAwait(false);
return textAndVersion.Version;
}
......@@ -370,7 +370,7 @@ public TextDocumentState UpdateText(TextLoader loader, PreservationMode mode)
lazyChecksums: null);
}
private async Task<TextAndVersion> GetTextAndVersoinAsync(CancellationToken cancellationToken)
private async Task<TextAndVersion> GetTextAndVersionAsync(CancellationToken cancellationToken)
{
if (this.textAndVersionSource.TryGetValue(out var textAndVersion))
{
......
......@@ -37,7 +37,7 @@ private async Task<DocumentStateChecksums> ComputeChecksumsAsync(CancellationTok
{
using (Logger.LogBlock(FunctionId.DocumentState_ComputeChecksumsAsync, FilePath, cancellationToken))
{
var textAndVersionTask = GetTextAndVersoinAsync(cancellationToken);
var textAndVersionTask = GetTextAndVersionAsync(cancellationToken);
var serializer = new Serializer(solutionServices.Workspace);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册