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