13 references to HardSelection
Microsoft.CodeAnalysis.CSharp.Features (4)
Completion\CompletionProviders\ObjectCreationCompletionProvider.cs (2)
111selectionBehavior: CompletionItemSelectionBehavior.HardSelection); 117selectionBehavior: CompletionItemSelectionBehavior.HardSelection);
Completion\CompletionProviders\SymbolCompletionProvider.cs (2)
61rule = rule.WithSelectionBehavior(CompletionItemSelectionBehavior.HardSelection); 74protected override CompletionItemSelectionBehavior PreselectedItemSelectionBehavior => CompletionItemSelectionBehavior.HardSelection;
Microsoft.CodeAnalysis.EditorFeatures (2)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (2)
576=> item.Rules.SelectionBehavior == CompletionItemSelectionBehavior.HardSelection ? item.Rules.MatchPriority : MatchPriority.Default; 792if (item.Rules.SelectionBehavior != CompletionItemSelectionBehavior.HardSelection)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (1)
10268Dim rules = CompletionItemRules.Default.WithSelectionBehavior(CompletionItemSelectionBehavior.HardSelection).WithMatchPriority(MatchPriority.Preselect)
IntelliSense\CSharpCompletionCommandHandlerTests_DefaultsSource.vb (1)
429Dim rules = CompletionItemRules.Default.WithSelectionBehavior(CompletionItemSelectionBehavior.HardSelection).WithMatchPriority(MatchPriority.Preselect)
Microsoft.CodeAnalysis.Features (3)
Completion\Providers\AbstractObjectInitializerCompletionProvider.cs (1)
69rules = rules.WithSelectionBehavior(CompletionItemSelectionBehavior.HardSelection).WithMatchPriority(MatchPriority.Preselect);
Completion\Providers\Scripting\AbstractLoadDirectiveCompletionProvider.cs (1)
20selectionBehavior: CompletionItemSelectionBehavior.HardSelection);
Completion\Providers\Scripting\AbstractReferenceDirectiveCompletionProvider.cs (1)
21selectionBehavior: CompletionItemSelectionBehavior.HardSelection);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Completion\CompletionResultFactory.cs (1)
155else if (typedText.Length == 0 && item.Rules.SelectionBehavior != CompletionItemSelectionBehavior.HardSelection)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\CompletionProviders\ObjectCreationCompletionProvider.vb (1)
63selectionBehavior:=CompletionItemSelectionBehavior.HardSelection)