186 references to GetValueTextAsync
Microsoft.CodeAnalysis.CSharp.Features (21)
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\CrefCompletionProvider.cs (1)
76var 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\NamedParameterCompletionProvider.cs (1)
108var 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\Analyzers\CSharp\CodeFixes\AddInheritdoc\AddInheritdocCodeFixProvider.cs (1)
71var sourceText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
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\Analyzers\CSharp\CodeFixes\NewLines\ArrowExpressionClausePlacement\ArrowExpressionClausePlacementCodeFixProvider.cs (1)
46var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
src\Analyzers\CSharp\CodeFixes\NewLines\ConditionalExpressionPlacement\ConditionalExpressionPlacementCodeFixProvider.cs (1)
46var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
src\Analyzers\CSharp\CodeFixes\NewLines\ConsecutiveBracePlacement\ConsecutiveBracePlacementCodeFixProvider.cs (1)
49var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
src\Analyzers\CSharp\CodeFixes\NewLines\ConstructorInitializerPlacement\ConstructorInitializerPlacementCodeFixProvider.cs (1)
46var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
StringIndentation\CSharpStringIndentationService.cs (1)
31var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
UseExpressionBody\UseExpressionBodyCodeRefactoringProvider.cs (1)
76var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.EditorFeatures (15)
CodeActions\CodeActionEditHandlerService.cs (2)
135var text = await singleChangedDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(true); 371var text = await openDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
EditAndContinue\ActiveStatementTrackingService.cs (1)
325var sourceText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
EditorConfigSettings\Updater\SettingsUpdaterBase.cs (2)
55var originalText = await analyzerConfigDocument.GetValueTextAsync(token).ConfigureAwait(false); 84var originalText = await analyzerConfigDocument!.GetValueTextAsync(token).ConfigureAwait(false);
ExternalAccess\IntelliCode\IntentProcessor.cs (1)
58var currentText = await currentDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
InlineRename\InlineRenameService.cs (2)
83var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 126var sourceText = await documentSpan.Document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (2)
557var oldText = await oldDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 558var newText = await newDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Interactive\AbstractInteractiveWindowCommandCompletionProvider.cs (1)
28var sourceText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Interactive\InteractiveDocumentNavigationService.cs (1)
50var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
QuickInfo\Extensions.cs (1)
50var sourceText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
TextDiffing\EditorTextDifferencingService.cs (2)
32var oldText = await oldDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 33var newText = await newDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
TaskList\FSharpTaskListService.cs (1)
41var 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.ExternalAccess.Xaml (1)
Internal\LocationService.cs (1)
40var sourceText = 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)
122var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 216var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 235var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 348var 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)
124var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsFeatureService.cs (2)
115var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 152var 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)
417var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Completion\CompletionService_GetCompletions.cs (1)
75var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractAwaitCompletionProvider.cs (1)
230var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Completion\Providers\AbstractDocCommentCompletionProvider.cs (1)
278var 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)
271var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Completion\Providers\ImportCompletionProvider\AbstractImportCompletionProvider.cs (1)
163var 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\DocumentAnalysisExecutor.cs (1)
133var sourceText = await textDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Diagnostics\Service\DocumentAnalysisExecutor_Helpers.cs (1)
180var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Diagnostics\Service\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (1)
59var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
739text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
EditAndContinue\CommittedSolution.cs (2)
245var sourceText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 360var currentDocumentSourceText = await currentDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
EditAndContinue\EditSession.cs (4)
193var oldText = await oldDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 194var newText = await newDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 329var oldSource = await oldDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 330var 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)
40var 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)
85var sourceText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 212var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (1)
295var sourceText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
152var 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)
257var 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)
109var sourceText = await annotatedReformattedDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 190var originalText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
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\Analyzers\Core\CodeFixes\Formatting\FormattingCodeFixProvider.cs (1)
73var text = await context.Document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
src\Analyzers\Core\CodeFixes\UseConditionalExpression\AbstractUseConditionalExpressionCodeFixProvider.cs (1)
148var 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.LanguageServer.Protocol (30)
Extensions\Extensions.cs (1)
205var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Extensions\ProtocolConversions.cs (4)
178var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 402var oldText = await oldDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 415var newText = await newDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 513var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (1)
55var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\Breakpoints\ValidateBreakableRangeHandler.cs (1)
36var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\CodeActions\CodeActionHelpers.cs (2)
51var documentText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 395var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\CodeActions\CodeActionResolveHelper.cs (3)
259var newText = await newTextDoc.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 284var oldText = await oldTextDoc.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 297var newText = await newTextDoc.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\CodeLens\CodeLensHandler.cs (1)
65var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\Completion\CompletionHandler.cs (1)
81var documentText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\Completion\CompletionResultFactory.cs (1)
62var documentText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\DataTips\DataTipRangeHandler.cs (1)
35var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\FoldingRanges\FoldingRangesHandler.cs (1)
78var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\Formatting\AbstractFormatDocumentHandlerBase.cs (1)
34var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\Highlights\DocumentHighlightHandler.cs (1)
55var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\Hover\HoverHandler.cs (2)
109var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 140var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\InlayHint\InlayHintHandler.cs (2)
52var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 99var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\InlineCompletions\InlineCompletionsHandler.cs (1)
129var sourceText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\OnAutoInsert\OnAutoInsertHandler.cs (2)
151var sourceText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 226var documentText = await oldDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\References\FindUsagesLSPContext.cs (1)
313var docText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\SemanticTokens\SemanticTokensHelpers.cs (1)
89var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Handler\Symbols\DocumentSymbolsHandler.cs (1)
59var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Workspaces\LspWorkspaceManager.cs (1)
514var documentText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Services\AssetSynchronization\RemoteAssetSynchronizationService.cs (1)
138return await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Services\SemanticClassification\RemoteSemanticClassificationService.Caching.cs (1)
151var text = 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)
54var 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\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
33var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\SemanticDocument.cs (1)
20var 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\TextDocument.cs (1)
76=> GetValueTextAsync(cancellationToken).AsTask();
Microsoft.VisualStudio.LanguageServices (13)
EditorConfigSettings\SettingsEditorControl.xaml.cs (1)
96var originalText = await analyzerConfigDocument.GetValueTextAsync(default).ConfigureAwait(false);
FindReferences\Contexts\AbstractTableDataSourceFindUsagesContext.cs (2)
407var sourceText = await documentSpan.Document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 440var sourceText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Implementation\AbstractEditorFactory.cs (1)
347var unformattedText = await addedDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(true);
StackTraceExplorer\StackFrameViewModel.cs (1)
112var sourceText = await textDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
TableDataSource\Suppression\VisualStudioDiagnosticListSuppressionStateService.cs (1)
264var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Venus\ContainedDocument.DocumentServiceProvider.cs (2)
89var sourceText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 138var sourceText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Workspace\SourceGeneratedFileManager.cs (1)
354generatedSource = await generatedDocument.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Workspace\VisualStudioDocumentNavigationService.cs (4)
60var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 77var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 128var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false); 265var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Client\RemoteLanguageServiceWorkspace.cs (1)
296var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Microsoft.VisualStudio.LanguageServices.Xaml (9)
Features\InlineRename\XamlEditorInlineRenameService.cs (1)
170var oldSource = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Implementation\LanguageServer\Handler\Completion\CompletionHandler.cs (1)
66var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Implementation\LanguageServer\Handler\Diagnostics\AbstractPullDiagnosticHandler.cs (1)
97var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Implementation\LanguageServer\Handler\FoldingRanges\FoldingRangesHandler.cs (1)
54var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Implementation\LanguageServer\Handler\Formatting\AbstractFormatDocumentHandlerBase.cs (1)
35var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Implementation\LanguageServer\Handler\Formatting\FormatDocumentOnTypeHandler.cs (1)
51var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Implementation\LanguageServer\Handler\Hover\HoverHandler.cs (1)
81var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Implementation\LanguageServer\Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
47var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Implementation\LanguageServer\Handler\OnTypeRename\OnTypeRenameHandler.cs (1)
79var text = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);
Roslyn.VisualStudio.DiagnosticsWindow (1)
Panels\WorkspacePanel.xaml.cs (1)
91var snapshotText = await document.GetValueTextAsync(cancellationToken).ConfigureAwait(false);