11 references to GetTextVersionAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Workspaces\WorkspaceTests_EditorFeatures.cs (2)
1123Assert.Equal(await doc.GetTextVersionAsync(), await doc.GetTopLevelChangeTextVersionAsync()); 1156Assert.Equal(await doc.GetTextVersionAsync(), await doc.GetTopLevelChangeTextVersionAsync());
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\CommittedSolution.cs (1)
224var sourceTextVersion = (committedDocument == null) ? await document.GetTextVersionAsync(cancellationToken).ConfigureAwait(false) : default;
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\Razor\RazorDynamicFileInfoProvider.TextChangesTextLoader.cs (1)
49var version = await _document.GetTextVersionAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\Document.cs (1)
132var textVersion = await this.GetTextVersionAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (4)
VisualStudioMSBuildWorkspaceTests.cs (4)
394var dversion = await document.GetTextVersionAsync(); 400var dversion1 = await document1.GetTextVersionAsync(); 408Assert.Equal(latestDV1, await document1.GetTextVersionAsync()); // projects latest doc version should be this doc's version 413var dversion2 = await document2.GetTextVersionAsync();
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
WorkspaceTests\AdhocWorkspaceTests.cs (2)
357var actualVersion = await newDoc.GetTextVersionAsync(); 367actualVersion = await newDoc.GetTextVersionAsync();