3 instantiations of ItemSelection
Microsoft.CodeAnalysis.EditorFeatures (3)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (3)
361
return new
ItemSelection
(SelectedItemIndex: SuggestionItemIndex, SelectionHint: UpdateSelectionHint.SoftSelected, UniqueItem: null);
433
return
new
(selectedItemIndex, updateSelectionHint, uniqueItem);
546
return
new
(SelectedItemIndex: indexToSelect,
7 references to ItemSelection
Microsoft.CodeAnalysis.EditorFeatures (7)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (7)
171
var
finalSelection = UpdateSelectionBasedOnSuggestedDefaults(itemsToBeIncluded, initialSelection.Value, cancellationToken);
341
private
ItemSelection
? HandleNormalFiltering(IReadOnlyList<MatchResult> matchResults, CancellationToken cancellationToken)
478
private
ItemSelection
? HandleDeletionTrigger(IReadOnlyList<MatchResult> items, CancellationToken cancellationToken)
832
private
ItemSelection
UpdateSelectionBasedOnSuggestedDefaults(IReadOnlyList<MatchResult> items,
ItemSelection
itemSelection, CancellationToken cancellationToken)
857
private
ItemSelection
GetDefaultsMatch(IReadOnlyList<MatchResult> matches,
ItemSelection
initialSelection, CancellationToken cancellationToken)