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)
96if (_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); 826return !await _completionService.IsSpeculativeTypeParameterContextAsync(_document!, item.Span.Start, cancellationToken).ConfigureAwait(false);