22 references to Default
Microsoft.CodeAnalysis.CSharp.Features (4)
Completion\CompletionProviders\ObjectCreationCompletionProvider.cs (1)
105matchPriority: MatchPriority.Default,
Completion\KeywordRecommenders\AbstractSyntacticSingleKeywordRecommender.cs (1)
24protected virtual int DefaultMatchPriority => MatchPriority.Default;
Completion\KeywordRecommenders\NuintKeywordRecommender.cs (1)
19protected override RecommendedKeyword Keyword => new("nuint", matchPriority: MatchPriority.Default - 1);
Completion\KeywordRecommenders\UShortKeywordRecommender.cs (1)
26protected override int DefaultMatchPriority => MatchPriority.Default - 1;
Microsoft.CodeAnalysis.EditorFeatures (3)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (3)
577=> item.Rules.SelectionBehavior == CompletionItemSelectionBehavior.HardSelection ? item.Rules.MatchPriority : MatchPriority.Default; 801if (item.Rules.MatchPriority == MatchPriority.Default) 809Debug.Assert(_filterText.Length > 0 || item.Rules.MatchPriority != MatchPriority.Default);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (5)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (5)
9520("item1", MatchPriority.Default - 1), 9521("item2", MatchPriority.Default + 1), 9522("item3", MatchPriority.Default), 9553("item2", MatchPriority.Default + 1), 9554("Item3", If(uppercaseItemIsDeprioritize, MatchPriority.Deprioritize, MatchPriority.Default - 1))})
Microsoft.CodeAnalysis.Features (7)
Completion\CommonCompletionService.cs (1)
31if (existingItem.Rules.MatchPriority != MatchPriority.Default && IsSnippetItem(item))
Completion\CompletionItemRules.cs (2)
45matchPriority: Completion.MatchPriority.Default, 168var matchPriority = preselect ? Completion.MatchPriority.Preselect : Completion.MatchPriority.Default;
Completion\PatternMatchHelper.cs (1)
214if (recentItemIndex >= 0 || matchPriority > MatchPriority.Default)
Completion\Providers\AbstractRecommendationServiceBasedCompletionProvider.cs (1)
141var matchPriority = preselect ? ComputeSymbolMatchPriority(symbols[0].Symbol) : MatchPriority.Default;
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
207.WithMatchPriority(preselect ? MatchPriority.Preselect : MatchPriority.Default)
Completion\Providers\RecommendedKeyword.cs (1)
53MatchPriority = matchPriority ?? Completion.MatchPriority.Default;
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Completion\KeywordRecommenders\Expressions\MeKeywordRecommender.vb (1)
28Dim priority = MatchPriority.Default
Completion\KeywordRecommenders\Expressions\TrueFalseKeywordRecommender.vb (1)
19Dim matchPriority = If(ShouldPreselect(context, cancellationToken), CodeAnalysis.Completion.MatchPriority.Preselect, CodeAnalysis.Completion.MatchPriority.Default)
Completion\KeywordRecommenders\Types\BuiltInTypesKeywordRecommender.vb (1)
116Dim priority = If(inferredSpecialTypes.Contains(specialType), SymbolMatchPriority.Keyword, MatchPriority.Default)