2 instantiations of MatchResult
Microsoft.CodeAnalysis.Features (2)
Completion\PatternMatchHelper.cs (2)
118
return new
MatchResult
(
187
matchResult = new
MatchResult
(
21 references to MatchResult
Microsoft.CodeAnalysis.Features (21)
Completion\CommonCompletionService.cs (2)
45
IReadOnlyList<
MatchResult
> matchResults,
47
IList<
MatchResult
> builder)
Completion\CompletionHelper.cs (2)
31
public int CompareMatchResults(
MatchResult
matchResult1,
MatchResult
matchResult2, bool filterTextHasNoUpperCase)
Completion\CompletionService.cs (7)
266
private static readonly ObjectPool<List<
MatchResult
>> s_listOfMatchResultPool = new(factory: () => []);
282
var filterDataList = new SegmentedList<
MatchResult
>(
301
IReadOnlyList<
MatchResult
> matchResults,
303
IList<
MatchResult
> builder)
320
IReadOnlyList<
MatchResult
> matchResults,
322
IList<
MatchResult
> builder)
332
foreach (
var
matchResult in matchResults)
Completion\MatchResult.cs (4)
47
public static IComparer<
MatchResult
> SortingComparer { get; } = new Comparer();
49
private sealed class Comparer : IComparer<
MatchResult
>
53
public int Compare(
MatchResult
x,
MatchResult
y)
Completion\PatternMatchHelper.cs (2)
97
public
MatchResult
GetMatchResult(
141
out
MatchResult
matchResult)
ExternalAccess\VSTypeScript\Api\VSTypeScriptCompletionServiceWithProviders.cs (4)
31
IReadOnlyList<
MatchResult
> matchResults,
33
IList<
MatchResult
> builder)
38
IReadOnlyList<
MatchResult
> matchResults,
40
IList<
MatchResult
> builder)