111 references to GetValueTextAsync
Microsoft.CodeAnalysis.CSharp.Features (19)
BraceMatching\BlockCommentBraceMatcher.cs (1)
32
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
435
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\CompletionProviders\ExplicitInterfaceMemberCompletionProvider.ItemGetter.cs (2)
53
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
124
var text = await Document.
GetValueTextAsync
(CancellationToken).ConfigureAwait(false);
Completion\CompletionProviders\ExternAliasCompletionProvider.cs (1)
80
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Conversions.cs (1)
80
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Operators.cs (1)
142
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\CompletionProviders\SymbolCompletionProvider.cs (1)
177
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Debugging\LocationInfoGetter.cs (1)
60
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Snippets\CSharpSnippetFunctionService.cs (1)
58
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
src\roslyn\src\Analyzers\CSharp\CodeFixes\AddInheritdoc\AddInheritdocCodeFixProvider.cs (1)
71
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConditionalExpressionInStringInterpolation\CSharpAddParenthesesAroundConditionalExpressionInInterpolatedStringCodeFixProvider.cs (2)
61
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
84
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
src\roslyn\src\Analyzers\CSharp\CodeFixes\NewLines\ArrowExpressionClausePlacement\ArrowExpressionClausePlacementCodeFixProvider.cs (1)
45
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
src\roslyn\src\Analyzers\CSharp\CodeFixes\NewLines\ConditionalExpressionPlacement\ConditionalExpressionPlacementCodeFixProvider.cs (1)
45
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
src\roslyn\src\Analyzers\CSharp\CodeFixes\NewLines\ConsecutiveBracePlacement\ConsecutiveBracePlacementCodeFixProvider.cs (1)
48
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
src\roslyn\src\Analyzers\CSharp\CodeFixes\NewLines\ConstructorInitializerPlacement\ConstructorInitializerPlacementCodeFixProvider.cs (1)
45
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
StringIndentation\CSharpStringIndentationService.cs (1)
31
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
UseExpressionBody\UseExpressionBodyCodeRefactoringProvider.cs (1)
78
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Completion\OmniSharpCompletionService.cs (1)
24
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (78)
AddFileBanner\AbstractAddFileBannerCodeRefactoringProvider.cs (1)
136
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
AddImport\CodeActions\AddImportCodeAction.cs (1)
61
var oldText = await OriginalDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
AddImport\CodeActions\InstallPackageAndAddImportCodeAction.cs (2)
86
var oldText = await OriginalDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
87
var newText = await updatedDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
BraceMatching\AbstractBraceMatcher.cs (1)
67
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
BraceMatching\BraceMatchingService.cs (1)
26
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
ClassifiedSpansAndHighlightSpanFactory.cs (1)
34
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
CodeFixes\Configuration\ConfigurationUpdater.cs (1)
271
var originalText = await editorConfigDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
CodeFixes\Service\CodeFixService.cs (4)
119
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
213
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
232
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
294
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
CodeFixes\Suppression\AbstractSuppressionBatchFixAllProvider.cs (1)
314
var finalText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaBatchFixHelpers.cs (1)
105
var currentText = await currentDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
CodeLens\CodeLensReferencesService.cs (1)
125
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsFeatureService.cs (2)
116
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
153
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsRefactoringProvider.cs (1)
32
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.MoveFileCodeAction.cs (1)
45
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\CompletionProvider.cs (1)
58
=> ShouldTriggerCompletion(document.Project.Services, await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false), caretPosition, trigger, options, document.Project.Solution.Options);
Completion\CompletionService.cs (1)
415
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\CompletionService_GetCompletions.cs (1)
74
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractAwaitCompletionProvider.cs (1)
212
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractDocCommentCompletionProvider.cs (1)
290
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (1)
256
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractMemberInsertingCompletionProvider.cs (4)
51
var newText = await newDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
65
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
185
var text = await memberContainingDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
228
text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractOverrideCompletionProvider.ItemGetter.cs (1)
39
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractPartialMethodCompletionProvider.cs (1)
96
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractRecommendationServiceBasedCompletionProvider.cs (1)
295
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\Providers\ImportCompletionProvider\AbstractImportCompletionProvider.cs (1)
172
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Completion\Providers\Snippets\AbstractSnippetCompletionProvider.cs (2)
36
var strippedText = await strippedDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
122
var originalText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
187
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (1)
47
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Diagnostics\Service\DocumentAnalysisExecutor.cs (1)
142
var sourceText = await textDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Diagnostics\Service\DocumentAnalysisExecutor_Helpers.cs (1)
179
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
739
text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
EditAndContinue\CommittedSolution.cs (2)
233
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
383
var currentDocumentSourceText = await currentDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
EditAndContinue\EditSession.cs (4)
192
var oldText = await oldDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
193
var newText = await newDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
328
var oldSource = await oldDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
329
var newSource = await newDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
EditAndContinue\TraceLog.cs (1)
115
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
EmbeddedLanguages\DateAndTime\DateAndTimeEmbeddedCompletionProvider.cs (1)
95
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
ExternalAccess\VSTypeScript\VSTypeScriptTaskListService.cs (1)
36
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
FullyQualify\AbstractFullyQualifyCodeFixProvider.cs (1)
47
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
GenerateComparisonOperators\GenerateComparisonOperatorsCodeRefactoringProvider.cs (1)
47
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
GenerateConstructors\AbstractGenerateConstructorsCodeRefactoringProvider.cs (1)
197
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersCodeRefactoringProvider.cs (1)
75
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
GenerateOverrides\GenerateOverridesCodeRefactoringProvider.cs (1)
35
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
ImplementInterface\ImplementInterfaceCodeRefactoringProvider.cs (1)
27
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (2)
92
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
219
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (1)
404
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
153
var text = await temporaryDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
MoveToNamespace\AbstractMoveToNamespaceService.cs (1)
279
var formattedText = await formattedDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Navigation\INavigableItem.cs (1)
80
return await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
QuickInfo\Presentation\QuickInfoContentBuilder.cs (1)
136
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Rename\SymbolicRenameInfo.cs (1)
254
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
ReplaceDocCommentTextWithTag\AbstractReplaceDocCommentTextWithTagCodeRefactoringProvider.cs (2)
45
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
160
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Snippets\RoslynLSPSnippetConverter.cs (1)
111
var documentText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Snippets\SnippetFunctionService.cs (1)
45
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Snippets\SnippetProviders\AbstractSnippetProvider.cs (2)
112
var sourceText = await annotatedReformattedDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
193
var originalText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
src\roslyn\src\Analyzers\Core\CodeFixes\ConflictMarkerResolution\AbstractConflictMarkerCodeFixProvider.cs (3)
75
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
319
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
405
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
src\roslyn\src\Analyzers\Core\CodeFixes\Formatting\FormattingCodeFixProvider.cs (1)
71
var text = await context.Document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
src\roslyn\src\Analyzers\Core\CodeFixes\UseConditionalExpression\AbstractUseConditionalExpressionCodeFixProvider.cs (1)
158
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Wrapping\AbstractWrapper.cs (1)
46
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Wrapping\BinaryExpression\AbstractBinaryExpressionWrapper.cs (1)
90
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Wrapping\ChainedExpression\AbstractChainedExpressionWrapper.cs (1)
111
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Wrapping\SeparatedSyntaxList\AbstractSeparatedSyntaxListWrapper.cs (1)
84
var sourceText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (13)
CodeCleanup\CodeCleaner.cs (1)
52
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
CodeFixes\FixAllOccurrences\TextChangeMerger.cs (1)
75
var oldText = await _oldDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
CodeFixesAndRefactorings\DocumentBasedFixAllProviderHelpers.cs (1)
88
var newText = newDocument.SupportsSyntaxTree ? null : await newDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Diagnostics\Extensions.cs (1)
53
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)
40
var newText = await newDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
68
var firstSourceText = await firstNewDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
103
var firstOldSourceText = await firstOldDocument.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Remote\RemoteUtilities.cs (1)
71
var oldText = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
33
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\SemanticDocument.cs (1)
20
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\SyntacticDocument.cs (1)
30
var text = await document.
GetValueTextAsync
(cancellationToken).ConfigureAwait(false);
Workspace\Solution\TextDocument.cs (1)
76
=>
GetValueTextAsync
(cancellationToken).AsTask();