34 references to Prefix
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
824
selectedItem.PatternMatch.Value.Kind > PatternMatchKind.
Prefix
)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (14)
Utilities\PatternMatcherTests.cs (14)
131
[InlineData("[|Fo|]o", "Fo", PatternMatchKind.
Prefix
, CaseSensitive)]
132
[InlineData("[|Fog|]Bar", "Fog", PatternMatchKind.
Prefix
, CaseSensitive)]
134
[InlineData("[|Fo|]o", "fo", PatternMatchKind.
Prefix
, CaseInsensitive)]
135
[InlineData("[|Fog|]Bar", "fog", PatternMatchKind.
Prefix
, CaseInsensitive)]
136
[InlineData("[|fog|]BarGoo", "Fog", PatternMatchKind.
Prefix
, CaseInsensitive)]
138
[InlineData("[|system.ref|]lection", "system.ref", PatternMatchKind.
Prefix
, CaseSensitive)]
245
AssertContainsType(PatternMatchKind.
Prefix
, match);
261
AssertContainsType(PatternMatchKind.
Prefix
, match);
277
AssertContainsType(PatternMatchKind.
Prefix
, match);
293
AssertContainsType(PatternMatchKind.
Prefix
, match);
302
AssertContainsType(PatternMatchKind.
Prefix
, match);
351
AssertContainsType(PatternMatchKind.
Prefix
, match);
360
AssertContainsType(PatternMatchKind.
Prefix
, match);
369
AssertContainsType(PatternMatchKind.
Prefix
, match);
Microsoft.CodeAnalysis.Features (6)
Completion\CompletionHelper.cs (4)
261
if (!isItem1Expanded && match1.Kind <= PatternMatchKind.
Prefix
)
266
if (!isItem2Expanded && match2.Kind <= PatternMatchKind.
Prefix
)
273
Debug.Assert(isItem1Expanded && match1.Kind == PatternMatchKind.Exact && !isItem2Expanded && match2.Kind > PatternMatchKind.
Prefix
||
274
isItem2Expanded && match2.Kind == PatternMatchKind.Exact && !isItem1Expanded && match1.Kind > PatternMatchKind.
Prefix
);
NavigateTo\AbstractNavigateToSearchService.InProcess.cs (1)
29
(PatternMatchKind.
Prefix
, NavigateToMatchKind.Prefix),
NavigateTo\INavigateToSearchResult.cs (1)
46
NavigateToMatchKind.Prefix => PatternMatchKind.
Prefix
,
Microsoft.CodeAnalysis.Workspaces (1)
PatternMatching\PatternMatcher.cs (1)
191
PatternMatchKind.
Prefix
, punctuationStripped, isCaseSensitive, matchedSpan: GetMatchedSpan(0, patternChunk.Text.Length));
Microsoft.CodeAnalysis.Workspaces.UnitTests (11)
FindSymbols\NavigateToSearchIndexTests.cs (11)
834
[InlineData("GooBar", "", "Goo", null, PatternMatchKind.
Prefix
)]
835
[InlineData("GooBar", "", "goo", null, PatternMatchKind.
Prefix
)]
836
[InlineData("GooBar", "", "G", null, PatternMatchKind.
Prefix
)]
837
[InlineData("GooBar", "", "g", null, PatternMatchKind.
Prefix
)]
838
[InlineData("GooBarQuux", "", "GooBar", null, PatternMatchKind.
Prefix
)]
839
[InlineData("XMLDocument", "", "XMLDoc", null, PatternMatchKind.
Prefix
)]
840
[InlineData("XMLDocument", "", "xmldoc", null, PatternMatchKind.
Prefix
)]
890
[InlineData("Quux", "Goo.Bar", "Qu", "Ba", PatternMatchKind.
Prefix
)]
891
[InlineData("Quux", "Goo.Bar", "Qu", "Go.Ba", PatternMatchKind.
Prefix
)]
892
[InlineData("Quux", "Goo.Bar.Baz", "Qu", "Ba.Baz", PatternMatchKind.
Prefix
)]
894
[InlineData("Quux", "GooBar", "Qu", "gb", PatternMatchKind.
Prefix
)]
Microsoft.VisualStudio.LanguageServices (1)
NavigateTo\RoslynNavigateToSearchCallback.cs (1)
99
PatternMatching.PatternMatchKind.
Prefix
=> PatternMatchKind.Prefix,