1 write to _snapshotData
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
78_snapshotData = snapshotData;
22 references to _snapshotData
Microsoft.CodeAnalysis.EditorFeatures (22)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (22)
60=> _snapshotData.DisplaySuggestionItem && _filterText.Length > 0; 62private CompletionTriggerReason InitialTriggerReason => _snapshotData.InitialTrigger.Reason; 63private CompletionTriggerReason UpdateTriggerReason => _snapshotData.Trigger.Reason; 82_filterText = applicableToSpan.GetText(_snapshotData.Snapshot); 84_hasSuggestedItemOptions = _sessionData.HasSuggestionItemOptions || _snapshotData.DisplaySuggestionItem; 88var snapshotForDocument = TryGetInitialTriggerLocation(_snapshotData, out var initialTriggerLocation) 90: _snapshotData.Snapshot; 219if (_filterText.Length > 0 && char.IsNumber(_filterText[0]) && !IsAfterDot(_snapshotData.Snapshot, _applicableToSpan)) 253var filterHelper = new FilterStateHelper(_snapshotData.SelectedFilters); 258Enumerable.Range(0, _snapshotData.InitialSortedItemList.Count) 267var item = _snapshotData.InitialSortedItemList[index]; 286if (!_snapshotData.Defaults.IsEmpty) 297if (_snapshotData.Defaults.IndexOf(matchResult.CompletionItem.FilterText) >= 0) 319var defaultIndex = _snapshotData.Defaults.IndexOf(completionItem.FilterText); 339=> i - _snapshotData.Defaults.Length; 415var typedChar = _snapshotData.Trigger.Character; 449return _snapshotData.InitialSortedItemList[matchResult.IndexInOriginalSortedOrder]; 456var unpromotedVsItem = _snapshotData.InitialSortedItemList[unpromotedIndex]; 653filters: _snapshotData.SelectedFilters, selectionHint: UpdateSelectionHint.SoftSelected, centerSelection: true, uniqueItem: null); 671return _snapshotData.SelectedFilters.SelectAsArray(n => n.WithAvailability(n.Filter is CompletionExpander || filters.Contains(n.Filter))); 851if (_snapshotData.Defaults.IsDefaultOrEmpty || itemSelection.SelectedItemIndex == SuggestionItemIndex) 920var defaultIndex = _snapshotData.Defaults.IndexOf(matches[i].CompletionItem.FilterText);