1 write to _document
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
95
_document
= snapshotForDocument?.TextBuffer.AsTextContainer().GetOpenDocumentInCurrentContext();
8 references to _document
Microsoft.CodeAnalysis.EditorFeatures (8)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (8)
96
if (
_document
!= null)
98
_completionService =
_document
.GetLanguageService<CompletionService>();
99
_completionRules = _completionService?.GetRules(globalOptions.GetCompletionOptions(
_document
.Project.Language)) ?? CompletionRules.Default;
103
_completionHelper = CompletionHelper.GetHelper(
_document
);
106
: ((matchResults, text, filteredItemsBuilder) => _completionService.FilterItems(
_document
, matchResults, text, filteredItemsBuilder));
110
&& globalOptions.GetOption(CompletionViewOptionsStorage.HighlightMatchingPortionsOfCompletionListItems,
_document
.Project.Language);
112
_showCompletionItemFilters = globalOptions.GetOption(CompletionViewOptionsStorage.ShowCompletionItemFilters,
_document
.Project.Language);
826
return !await _completionService.IsSpeculativeTypeParameterContextAsync(
_document
!, item.Span.Start, cancellationToken).ConfigureAwait(false);