22 references to SymbolMatchPriority
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Completion\CompletionProviders\SymbolCompletionProviderTests.cs (5)
9662await VerifyItemExistsAsync(markup, "ToString", matchPriority: SymbolMatchPriority.PreferEventOrMethod); 9680await VerifyItemExistsAsync(markup, "z", matchPriority: SymbolMatchPriority.PreferLocalOrParameterOrRangeVariable); 9698await VerifyItemExistsAsync(markup, "z", matchPriority: SymbolMatchPriority.PreferLocalOrParameterOrRangeVariable); 9716await VerifyItemExistsAsync(markup, "i", matchPriority: SymbolMatchPriority.PreferLocalOrParameterOrRangeVariable); 9734await VerifyItemExistsAsync(markup, "i", matchPriority: SymbolMatchPriority.PreferLocalOrParameterOrRangeVariable);
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\CompletionProviders\NamedParameterCompletionProvider.cs (1)
122rules: s_rules.WithMatchPriority(SymbolMatchPriority.PreferNamedArgument),
Completion\KeywordRecommenders\AbstractSpecialTypePreselectingKeywordRecommender.cs (1)
30protected override int PreselectMatchPriority => SymbolMatchPriority.PreferType;
Completion\KeywordRecommenders\AbstractSyntacticSingleKeywordRecommender.cs (1)
26protected virtual int PreselectMatchPriority => SymbolMatchPriority.Keyword;
Microsoft.CodeAnalysis.Features (10)
Completion\Providers\AbstractRecommendationServiceBasedCompletionProvider.cs (4)
183return SymbolMatchPriority.PreferLocalOrParameterOrRangeVariable; 188return SymbolMatchPriority.PreferFieldOrProperty; 193return SymbolMatchPriority.PreferEventOrMethod; 196return SymbolMatchPriority.PreferType;
ExternalAccess\Pythia\Api\PythiaSymbolMatchPriority.cs (6)
11internal static readonly int Keyword = SymbolMatchPriority.Keyword; 12internal static readonly int PreferType = SymbolMatchPriority.PreferType; 13internal static readonly int PreferNamedArgument = SymbolMatchPriority.PreferNamedArgument; 14internal static readonly int PreferEventOrMethod = SymbolMatchPriority.PreferEventOrMethod; 15internal static readonly int PreferFieldOrProperty = SymbolMatchPriority.PreferFieldOrProperty; 16internal static readonly int PreferLocalOrParameterOrRangeVariable = SymbolMatchPriority.PreferLocalOrParameterOrRangeVariable;
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (2)
Recommendations\Expressions\MeKeywordRecommenderTests.vb (1)
223VerifyRecommendationsWithPriority(code, SymbolMatchPriority.Keyword, "Me")
Recommendations\Types\BuiltInTypesKeywordRecommenderTests.vb (1)
117VerifyRecommendationsWithPriority(code, SymbolMatchPriority.Keyword, "Integer")
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Completion\KeywordRecommenders\Expressions\MeKeywordRecommender.vb (1)
31priority = SymbolMatchPriority.Keyword
Completion\KeywordRecommenders\Types\BuiltInTypesKeywordRecommender.vb (1)
116Dim priority = If(inferredSpecialTypes.Contains(specialType), SymbolMatchPriority.Keyword, MatchPriority.Default)