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