11 references to WithSelectionBehavior
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\SymbolCompletionProvider.cs (1)
59rule = rule.WithSelectionBehavior(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 (7)
Completion\Providers\AbstractObjectInitializerCompletionProvider.cs (1)
79rules = rules.WithSelectionBehavior(CompletionItemSelectionBehavior.HardSelection).WithMatchPriority(MatchPriority.Preselect);
Completion\Providers\AbstractRecommendationServiceBasedCompletionProvider.cs (3)
149rules = rules.WithSelectionBehavior(CompletionItemSelectionBehavior.SoftSelection); 153rules = rules.WithSelectionBehavior(CompletionItemSelectionBehavior.SoftSelection); 157rules = rules.WithSelectionBehavior(PreselectedItemSelectionBehavior);
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
243.WithSelectionBehavior(context.IsRightSideOfNumericType ? CompletionItemSelectionBehavior.SoftSelection : CompletionItemSelectionBehavior.Default));
EmbeddedLanguages\DateAndTime\DateAndTimeEmbeddedCompletionProvider.cs (1)
29CompletionItemRules.Default.WithSelectionBehavior(CompletionItemSelectionBehavior.SoftSelection)
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedCompletionProvider.cs (1)
36CompletionItemRules.Default.WithSelectionBehavior(CompletionItemSelectionBehavior.SoftSelection)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\CompletionProviders\SymbolCompletionProvider.vb (1)
47rule = rule.WithSelectionBehavior(CompletionItemSelectionBehavior.SoftSelection)