21 references to Default
Microsoft.CodeAnalysis.CSharp.Features (4)
Completion\CompletionProviders\ObjectCreationCompletionProvider.cs (1)
104matchPriority: 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)
576=> item.Rules.SelectionBehavior == CompletionItemSelectionBehavior.HardSelection ? item.Rules.MatchPriority : MatchPriority.Default; 798if (item.Rules.MatchPriority == MatchPriority.Default) 806Debug.Assert(_filterText.Length > 0 || item.Rules.MatchPriority != MatchPriority.Default);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (5)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (5)
9541("item1", MatchPriority.Default - 1), 9542("item2", MatchPriority.Default + 1), 9543("item3", MatchPriority.Default), 9574("item2", MatchPriority.Default + 1), 9575("Item3", If(uppercaseItemIsDeprioritize, MatchPriority.Deprioritize, MatchPriority.Default - 1))})
Microsoft.CodeAnalysis.Features (7)
Completion\CommonCompletionService.cs (1)
29if (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)
223if (recentItemIndex >= 0 || matchPriority > MatchPriority.Default)
Completion\Providers\AbstractRecommendationServiceBasedCompletionProvider.cs (1)
144var matchPriority = preselect ? ComputeSymbolMatchPriority(symbols[0].Symbol) : MatchPriority.Default;
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
242.WithMatchPriority(preselect ? MatchPriority.Preselect : MatchPriority.Default)
Completion\Providers\RecommendedKeyword.cs (1)
25public int MatchPriority { get; } = matchPriority ?? Completion.MatchPriority.Default;
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Completion\KeywordRecommenders\Expressions\MeKeywordRecommender.vb (1)
28Dim priority = MatchPriority.Default
Completion\KeywordRecommenders\Types\BuiltInTypesKeywordRecommender.vb (1)
113Dim priority = If(inferredSpecialTypes.Contains(specialType), SymbolMatchPriority.Keyword, MatchPriority.Default)