14 references to WithMatchPriority
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\CompletionProviders\KeywordCompletionProvider.cs (1)
198rules: rules.WithMatchPriority(keyword.MatchPriority)
Completion\CompletionProviders\NamedParameterCompletionProvider.cs (1)
121rules: s_rules.WithMatchPriority(SymbolMatchPriority.PreferNamedArgument),
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Conversions.cs (1)
38private static readonly CompletionItemRules s_conversionRules = CompletionItemRules.Default.WithMatchPriority(MatchPriority.Deprioritize);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (4)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (3)
8221rules:=CompletionItemRules.Default.WithMatchPriority(1000), isComplexTextEdit:=True)) 9601builder.Add(CompletionItem.Create(displayText:=item.displayText, rules:=CompletionItemRules.Default.WithMatchPriority(item.matchPriority))) 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 (4)
Completion\Providers\AbstractObjectCreationCompletionProvider.cs (1)
40rules: GetCompletionItemRules(symbols).WithMatchPriority(MatchPriority.Preselect),
Completion\Providers\AbstractObjectInitializerCompletionProvider.cs (1)
69rules = rules.WithSelectionBehavior(CompletionItemSelectionBehavior.HardSelection).WithMatchPriority(MatchPriority.Preselect);
Completion\Providers\AbstractRecommendationServiceBasedCompletionProvider.cs (1)
146rules = rules.WithMatchPriority(matchPriority);
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
238.WithMatchPriority(preselect ? MatchPriority.Preselect : MatchPriority.Default)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Completion\CompletionFeaturesTests.cs (1)
770mockService.NonDefaultRule = CompletionItemRules.Default.WithMatchPriority(MatchPriority.Preselect);
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Completion\CompletionProviders\CompletionListTagCompletionProvider.vb (1)
111rules:=CompletionItemRules.Default.WithMatchPriority(MatchPriority.Preselect),
Completion\CompletionProviders\EnumCompletionProvider.vb (1)
29Private Shared ReadOnly s_enumMemberCompletionItemRules As CompletionItemRules = CompletionItemRules.Default.WithMatchPriority(MatchPriority.Preselect)