1 write to _snapshotData
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
79_snapshotData = snapshotData;
22 references to _snapshotData
Microsoft.CodeAnalysis.EditorFeatures (22)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (22)
61=> _snapshotData.DisplaySuggestionItem && _filterText.Length > 0; 63private CompletionTriggerReason InitialTriggerReason => _snapshotData.InitialTrigger.Reason; 64private CompletionTriggerReason UpdateTriggerReason => _snapshotData.Trigger.Reason; 83_filterText = applicableToSpan.GetText(_snapshotData.Snapshot); 85_hasSuggestedItemOptions = _sessionData.HasSuggestionItemOptions || _snapshotData.DisplaySuggestionItem; 89var snapshotForDocument = TryGetInitialTriggerLocation(_snapshotData, out var initialTriggerLocation) 91: _snapshotData.Snapshot; 220if (_filterText.Length > 0 && char.IsNumber(_filterText[0]) && !IsAfterDot(_snapshotData.Snapshot, _applicableToSpan)) 248var filterHelper = new FilterStateHelper(_snapshotData.SelectedFilters); 256Enumerable.Range(0, _snapshotData.InitialSortedItemList.Count) 266var item = _snapshotData.InitialSortedItemList[index]; 285if (!_snapshotData.Defaults.IsEmpty) 296if (_snapshotData.Defaults.IndexOf(matchResult.CompletionItem.FilterText) >= 0) 318var defaultIndex = _snapshotData.Defaults.IndexOf(completionItem.FilterText); 338=> i - _snapshotData.Defaults.Length; 414var typedChar = _snapshotData.Trigger.Character; 448return _snapshotData.InitialSortedItemList[matchResult.IndexInOriginalSortedOrder]; 455var unpromotedVsItem = _snapshotData.InitialSortedItemList[unpromotedIndex]; 652filters: _snapshotData.SelectedFilters, selectionHint: UpdateSelectionHint.SoftSelected, centerSelection: true, uniqueItem: null); 670return _snapshotData.SelectedFilters.SelectAsArray(n => n.WithAvailability(n.Filter is CompletionExpander || filters.Contains(n.Filter))); 835if (_snapshotData.Defaults.IsDefaultOrEmpty || itemSelection.SelectedItemIndex == SuggestionItemIndex) 904var defaultIndex = _snapshotData.Defaults.IndexOf(matches[i].CompletionItem.FilterText);