From 09334e94755eb93161565c8e79428db93e3f7605 Mon Sep 17 00:00:00 2001 From: Heejae Chang Date: Fri, 3 Mar 2017 15:52:18 -0800 Subject: [PATCH] PR feedback. --- .../Core/Portable/Workspace/Solution/TextDocumentState.cs | 6 +++--- .../Workspace/Solution/TextDocumentState_Checksum.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentState.cs b/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentState.cs index 967a15712a0..3f2f1bf3ba2 100644 --- a/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentState.cs +++ b/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentState.cs @@ -289,7 +289,7 @@ public async Task 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 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 GetTextAndVersoinAsync(CancellationToken cancellationToken) + private async Task GetTextAndVersionAsync(CancellationToken cancellationToken) { if (this.textAndVersionSource.TryGetValue(out var textAndVersion)) { diff --git a/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentState_Checksum.cs b/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentState_Checksum.cs index f7791bb3f93..99f6b6e8406 100644 --- a/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentState_Checksum.cs +++ b/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentState_Checksum.cs @@ -37,7 +37,7 @@ private async Task ComputeChecksumsAsync(CancellationTok { using (Logger.LogBlock(FunctionId.DocumentState_ComputeChecksumsAsync, FilePath, cancellationToken)) { - var textAndVersionTask = GetTextAndVersoinAsync(cancellationToken); + var textAndVersionTask = GetTextAndVersionAsync(cancellationToken); var serializer = new Serializer(solutionServices.Workspace); -- GitLab