8 references to GetTextAsync
Microsoft.CodeAnalysis.EditorFeatures (3)
EditAndContinue\PdbMatchingSourceTextProvider.cs (1)
145var text = await state.GetTextAsync(cancellationToken).ConfigureAwait(false);
Preview\AbstractPreviewFactoryService.cs (2)
620var text = await document.State.GetTextAsync(cancellationToken); 633var text = await document.State.GetTextAsync(cancellationToken);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (1)
4724Assert.Equal(source1, (await documentState.GetTextAsync(CancellationToken.None)).ToString());
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\CommittedSolution.cs (1)
386var sourceText = await documentState.GetTextAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (3)
Serialization\SerializableSourceText.cs (1)
111static (state, cancellationToken) => state.GetTextAsync(cancellationToken),
Workspace\Solution\AnalyzerConfigDocumentState.cs (1)
42asynchronousComputeFunction: async cancellationToken => AnalyzerConfig.Parse(await GetTextAsync(cancellationToken).ConfigureAwait(false), FilePath),
Workspace\Solution\TextDocument.cs (1)
77=> State.GetTextAsync(cancellationToken).AsTask();