44 references to NavigateToMatchKind
Microsoft.CodeAnalysis.ExternalAccess.FSharp.UnitTests (1)
FSharpNavigateToMatchKindTests.cs (1)
86
var
actual = FSharpNavigateToMatchKindHelpers.ConvertTo(kind);
Microsoft.CodeAnalysis.Features (43)
ExternalAccess\VSTypeScript\VSTypeScriptNavigateToSearchService.cs (12)
102
public
NavigateToMatchKind
MatchKind
105
VSTypeScriptNavigateToMatchKind.Exact =>
NavigateToMatchKind
.Exact,
106
VSTypeScriptNavigateToMatchKind.Prefix =>
NavigateToMatchKind
.Prefix,
107
VSTypeScriptNavigateToMatchKind.Substring =>
NavigateToMatchKind
.Substring,
108
VSTypeScriptNavigateToMatchKind.Regular =>
NavigateToMatchKind
.Regular,
109
VSTypeScriptNavigateToMatchKind.None =>
NavigateToMatchKind
.None,
110
VSTypeScriptNavigateToMatchKind.CamelCaseExact =>
NavigateToMatchKind
.CamelCaseExact,
111
VSTypeScriptNavigateToMatchKind.CamelCasePrefix =>
NavigateToMatchKind
.CamelCasePrefix,
112
VSTypeScriptNavigateToMatchKind.CamelCaseNonContiguousPrefix =>
NavigateToMatchKind
.CamelCaseNonContiguousPrefix,
113
VSTypeScriptNavigateToMatchKind.CamelCaseSubstring =>
NavigateToMatchKind
.CamelCaseSubstring,
114
VSTypeScriptNavigateToMatchKind.CamelCaseNonContiguousSubstring =>
NavigateToMatchKind
.CamelCaseNonContiguousSubstring,
115
VSTypeScriptNavigateToMatchKind.Fuzzy =>
NavigateToMatchKind
.Fuzzy,
NavigateTo\AbstractNavigateToSearchService.InProcess.cs (15)
25
private static readonly ImmutableArray<(PatternMatchKind roslynKind,
NavigateToMatchKind
vsKind)> s_kindPairs =
27
(PatternMatchKind.Exact,
NavigateToMatchKind
.Exact),
28
(PatternMatchKind.Prefix,
NavigateToMatchKind
.Prefix),
29
(PatternMatchKind.NonLowercaseSubstring,
NavigateToMatchKind
.Substring),
30
(PatternMatchKind.StartOfWordSubstring,
NavigateToMatchKind
.Substring),
31
(PatternMatchKind.CamelCaseExact,
NavigateToMatchKind
.CamelCaseExact),
32
(PatternMatchKind.CamelCasePrefix,
NavigateToMatchKind
.CamelCasePrefix),
33
(PatternMatchKind.CamelCaseNonContiguousPrefix,
NavigateToMatchKind
.CamelCaseNonContiguousPrefix),
34
(PatternMatchKind.CamelCaseSubstring,
NavigateToMatchKind
.CamelCaseSubstring),
35
(PatternMatchKind.CamelCaseNonContiguousSubstring,
NavigateToMatchKind
.CamelCaseNonContiguousSubstring),
36
(PatternMatchKind.Fuzzy,
NavigateToMatchKind
.Fuzzy),
37
(PatternMatchKind.LowercaseSubstring,
NavigateToMatchKind
.Fuzzy),
134
var
matchKind = GetNavigateToMatchKind(nameMatches);
223
private static
NavigateToMatchKind
GetNavigateToMatchKind(in TemporaryArray<PatternMatch> nameMatches)
240
return
NavigateToMatchKind
.Regular;
NavigateTo\INavigateToSearchResult.cs (13)
17
NavigateToMatchKind
MatchKind { get; }
43
private static PatternMatchKind GetPatternMatchKind(
NavigateToMatchKind
matchKind)
46
NavigateToMatchKind
.Exact => PatternMatchKind.Exact,
47
NavigateToMatchKind
.Prefix => PatternMatchKind.Prefix,
48
NavigateToMatchKind
.Substring => PatternMatchKind.NonLowercaseSubstring,
49
NavigateToMatchKind
.Regular => PatternMatchKind.Fuzzy,
50
NavigateToMatchKind
.None => PatternMatchKind.Fuzzy,
51
NavigateToMatchKind
.CamelCaseExact => PatternMatchKind.CamelCaseExact,
52
NavigateToMatchKind
.CamelCasePrefix => PatternMatchKind.CamelCasePrefix,
53
NavigateToMatchKind
.CamelCaseNonContiguousPrefix => PatternMatchKind.CamelCaseNonContiguousPrefix,
54
NavigateToMatchKind
.CamelCaseSubstring => PatternMatchKind.CamelCaseSubstring,
55
NavigateToMatchKind
.CamelCaseNonContiguousSubstring => PatternMatchKind.CamelCaseNonContiguousSubstring,
56
NavigateToMatchKind
.Fuzzy => PatternMatchKind.Fuzzy,
NavigateTo\RoslynNavigateToItem.cs (3)
33
NavigateToMatchKind
matchKind,
57
public readonly
NavigateToMatchKind
MatchKind = matchKind;
199
NavigateToMatchKind
INavigateToSearchResult.MatchKind => _item.MatchKind;