3 instantiations of ItemSelection
Microsoft.CodeAnalysis.EditorFeatures (3)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (3)
362
return new
ItemSelection
(SelectedItemIndex: SuggestionItemIndex, SelectionHint: UpdateSelectionHint.SoftSelected, UniqueItem: null);
434
return
new
(selectedItemIndex, updateSelectionHint, uniqueItem);
547
return
new
(SelectedItemIndex: indexToSelect,
7 references to ItemSelection
Microsoft.CodeAnalysis.EditorFeatures (7)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (7)
172
var
finalSelection = UpdateSelectionBasedOnSuggestedDefaults(itemsToBeIncluded, initialSelection.Value, cancellationToken);
342
private
ItemSelection
? HandleNormalFiltering(IReadOnlyList<MatchResult> matchResults, CancellationToken cancellationToken)
479
private
ItemSelection
? HandleDeletionTrigger(IReadOnlyList<MatchResult> items, CancellationToken cancellationToken)
833
private
ItemSelection
UpdateSelectionBasedOnSuggestedDefaults(IReadOnlyList<MatchResult> items,
ItemSelection
itemSelection, CancellationToken cancellationToken)
858
private
ItemSelection
GetDefaultsMatch(IReadOnlyList<MatchResult> matches,
ItemSelection
initialSelection, CancellationToken cancellationToken)