15 references to GetValueTextAsync
Microsoft.CodeAnalysis.Workspaces (15)
CodeCleanup\CodeCleaner.cs (1)
52var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
CodeFixes\FixAllOccurrences\TextChangeMerger.cs (1)
74var oldText = await _oldDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
CodeFixesAndRefactorings\DocumentBasedFixAllProviderHelpers.cs (1)
91var newText = newDocument.SupportsSyntaxTree ? null : await newDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Diagnostics\Extensions.cs (1)
49var text = await textDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
FindSymbols\FindReferences\FindReferenceCache.cs (1)
35var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
LinkedFileDiffMerging\LinkedFileDiffMergingSession.cs (3)
39var newText = await newDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 67var firstSourceText = await firstNewDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 103var firstOldSourceText = await firstOldDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Remote\RemoteUtilities.cs (1)
58var oldText = await oldSolution.GetDocument(tuple.documentId).GetValueTextAsync(cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
37var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\SemanticDocument.cs (1)
19var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\SyntacticDocument.cs (1)
30var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Workspace\Solution\Document.cs (2)
466text = await this.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 467oldText = await oldDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Workspace\Solution\TextDocument.cs (1)
77=> GetValueTextAsync(cancellationToken).AsTask();