84 references to NavigateToMatchKind
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
NavigateTo\NavigateToSearcherTests.cs (1)
278public NavigateToMatchKind MatchKind => throw new NotImplementedException();
Microsoft.CodeAnalysis.EditorFeatures.Wpf (12)
NavigateTo\NavigateToItemProvider.Callback.cs (12)
89private static PatternMatchKind GetPatternMatchKind(NavigateToMatchKind matchKind) 92NavigateToMatchKind.Exact => PatternMatchKind.Exact, 93NavigateToMatchKind.Prefix => PatternMatchKind.Prefix, 94NavigateToMatchKind.Substring => PatternMatchKind.Substring, 95NavigateToMatchKind.Regular => PatternMatchKind.Fuzzy, 96NavigateToMatchKind.None => PatternMatchKind.Fuzzy, 97NavigateToMatchKind.CamelCaseExact => PatternMatchKind.CamelCaseExact, 98NavigateToMatchKind.CamelCasePrefix => PatternMatchKind.CamelCasePrefix, 99NavigateToMatchKind.CamelCaseNonContiguousPrefix => PatternMatchKind.CamelCaseNonContiguousPrefix, 100NavigateToMatchKind.CamelCaseSubstring => PatternMatchKind.CamelCaseSubstring, 101NavigateToMatchKind.CamelCaseNonContiguousSubstring => PatternMatchKind.CamelCaseNonContiguousSubstring, 102NavigateToMatchKind.Fuzzy => PatternMatchKind.Fuzzy,
Microsoft.CodeAnalysis.ExternalAccess.FSharp (13)
Internal\NavigateTo\FSharpNavigateToMatchKindHelpers.cs (12)
16public static NavigateToMatchKind ConvertTo(FSharpNavigateToMatchKind kind) 22return NavigateToMatchKind.Exact; 26return NavigateToMatchKind.Prefix; 30return NavigateToMatchKind.Substring; 34return NavigateToMatchKind.Regular; 38return NavigateToMatchKind.None; 42return NavigateToMatchKind.CamelCaseExact; 46return NavigateToMatchKind.CamelCasePrefix; 50return NavigateToMatchKind.CamelCaseNonContiguousPrefix; 54return NavigateToMatchKind.CamelCaseSubstring; 58return NavigateToMatchKind.CamelCaseNonContiguousSubstring; 62return NavigateToMatchKind.Fuzzy;
Internal\NavigateTo\InternalFSharpNavigateToSearchResult.cs (1)
21public NavigateToMatchKind MatchKind { get; }
Microsoft.CodeAnalysis.ExternalAccess.FSharp.UnitTests (14)
FSharpNavigateToMatchKindTests.cs (14)
27internal static NavigateToMatchKind GetExpectedNavigateToMatchKind(FSharpNavigateToMatchKind kind) 33return NavigateToMatchKind.Exact; 37return NavigateToMatchKind.Prefix; 41return NavigateToMatchKind.Substring; 45return NavigateToMatchKind.Regular; 49return NavigateToMatchKind.None; 53return NavigateToMatchKind.CamelCaseExact; 57return NavigateToMatchKind.CamelCasePrefix; 61return NavigateToMatchKind.CamelCaseNonContiguousPrefix; 65return NavigateToMatchKind.CamelCaseSubstring; 69return NavigateToMatchKind.CamelCaseNonContiguousSubstring; 73return NavigateToMatchKind.Fuzzy; 86var actual = FSharpNavigateToMatchKindHelpers.ConvertTo(kind); 87var expected = GetExpectedNavigateToMatchKind(kind);
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.UnitTests (1)
EnumTests.cs (1)
25[InlineData(typeof(NavigateToMatchKind), typeof(OmniSharpNavigateToMatchKind))]
Microsoft.CodeAnalysis.Features (43)
ExternalAccess\VSTypeScript\VSTypeScriptNavigateToSearchService.cs (12)
113public NavigateToMatchKind MatchKind 116VSTypeScriptNavigateToMatchKind.Exact => NavigateToMatchKind.Exact, 117VSTypeScriptNavigateToMatchKind.Prefix => NavigateToMatchKind.Prefix, 118VSTypeScriptNavigateToMatchKind.Substring => NavigateToMatchKind.Substring, 119VSTypeScriptNavigateToMatchKind.Regular => NavigateToMatchKind.Regular, 120VSTypeScriptNavigateToMatchKind.None => NavigateToMatchKind.None, 121VSTypeScriptNavigateToMatchKind.CamelCaseExact => NavigateToMatchKind.CamelCaseExact, 122VSTypeScriptNavigateToMatchKind.CamelCasePrefix => NavigateToMatchKind.CamelCasePrefix, 123VSTypeScriptNavigateToMatchKind.CamelCaseNonContiguousPrefix => NavigateToMatchKind.CamelCaseNonContiguousPrefix, 124VSTypeScriptNavigateToMatchKind.CamelCaseSubstring => NavigateToMatchKind.CamelCaseSubstring, 125VSTypeScriptNavigateToMatchKind.CamelCaseNonContiguousSubstring => NavigateToMatchKind.CamelCaseNonContiguousSubstring, 126VSTypeScriptNavigateToMatchKind.Fuzzy => NavigateToMatchKind.Fuzzy,
NavigateTo\AbstractNavigateToSearchService.InProcess.cs (15)
24private static readonly ImmutableArray<(PatternMatchKind roslynKind, NavigateToMatchKind vsKind)> s_kindPairs = 26(PatternMatchKind.Exact, NavigateToMatchKind.Exact), 27(PatternMatchKind.Prefix, NavigateToMatchKind.Prefix), 28(PatternMatchKind.NonLowercaseSubstring, NavigateToMatchKind.Substring), 29(PatternMatchKind.StartOfWordSubstring, NavigateToMatchKind.Substring), 30(PatternMatchKind.CamelCaseExact, NavigateToMatchKind.CamelCaseExact), 31(PatternMatchKind.CamelCasePrefix, NavigateToMatchKind.CamelCasePrefix), 32(PatternMatchKind.CamelCaseNonContiguousPrefix, NavigateToMatchKind.CamelCaseNonContiguousPrefix), 33(PatternMatchKind.CamelCaseSubstring, NavigateToMatchKind.CamelCaseSubstring), 34(PatternMatchKind.CamelCaseNonContiguousSubstring, NavigateToMatchKind.CamelCaseNonContiguousSubstring), 35(PatternMatchKind.Fuzzy, NavigateToMatchKind.Fuzzy), 37(PatternMatchKind.LowercaseSubstring, NavigateToMatchKind.Fuzzy)); 174var matchKind = GetNavigateToMatchKind(nameMatches); 267private static NavigateToMatchKind GetNavigateToMatchKind(in TemporaryArray<PatternMatch> nameMatches) 284return NavigateToMatchKind.Regular;
NavigateTo\INavigateToSearchResult.cs (13)
19NavigateToMatchKind MatchKind { get; } 45private static PatternMatchKind GetPatternMatchKind(NavigateToMatchKind matchKind) 48NavigateToMatchKind.Exact => PatternMatchKind.Exact, 49NavigateToMatchKind.Prefix => PatternMatchKind.Prefix, 50NavigateToMatchKind.Substring => PatternMatchKind.NonLowercaseSubstring, 51NavigateToMatchKind.Regular => PatternMatchKind.Fuzzy, 52NavigateToMatchKind.None => PatternMatchKind.Fuzzy, 53NavigateToMatchKind.CamelCaseExact => PatternMatchKind.CamelCaseExact, 54NavigateToMatchKind.CamelCasePrefix => PatternMatchKind.CamelCasePrefix, 55NavigateToMatchKind.CamelCaseNonContiguousPrefix => PatternMatchKind.CamelCaseNonContiguousPrefix, 56NavigateToMatchKind.CamelCaseSubstring => PatternMatchKind.CamelCaseSubstring, 57NavigateToMatchKind.CamelCaseNonContiguousSubstring => PatternMatchKind.CamelCaseNonContiguousSubstring, 58NavigateToMatchKind.Fuzzy => PatternMatchKind.Fuzzy,
NavigateTo\RoslynNavigateToItem.cs (3)
48public readonly NavigateToMatchKind MatchKind; 65NavigateToMatchKind matchKind, 208NavigateToMatchKind INavigateToSearchResult.MatchKind => _item.MatchKind;