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