diff --git a/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentState.cs b/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentState.cs index 967a15712a0cabc5c7c5066a1a8e040daa0c589d..3f2f1bf3ba2800b0080a2f0f955b64120aa1f4c5 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 f7791bb3f931fb48410692e1262ec6094be3dcc8..99f6b6e84062565d3c029f6c387098e5aaff70b5 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);