11 instantiations of PatternMatch
Microsoft.CodeAnalysis.Workspaces (11)
PatternMatching\PatternMatch.cs (1)
60=> new(Kind, _punctuationStripped, IsCaseSensitive, matchedSpans);
PatternMatching\PatternMatcher.cs (10)
155return new PatternMatch( 180return new PatternMatch( 206return new PatternMatch( 228return new PatternMatch( 245return new PatternMatch(PatternMatchKind.StartOfWordSubstring, punctuationStripped, 260return new PatternMatch(PatternMatchKind.StartOfWordSubstring, punctuationStripped, 292return new PatternMatch( 468return new PatternMatch( 488return new PatternMatch( 493return new PatternMatch(
18 references to PatternMatch
Microsoft.CodeAnalysis.Workspaces (18)
PatternMatching\ContainerPatternMatcher.cs (3)
44public override bool AddMatches(string? container, ref TemporaryArray<PatternMatch> matches) 55private bool AddMatches(string container, ref TemporaryArray<PatternMatch> matches, bool fuzzyMatch) 62using var tempContainerMatches = TemporaryArray<PatternMatch>.Empty;
PatternMatching\PatternMatch.cs (5)
13internal readonly struct PatternMatch : IComparable<PatternMatch> 59public PatternMatch WithMatchedSpans(ImmutableArray<TextSpan> matchedSpans) 62public int CompareTo(PatternMatch other) 65public int CompareTo(PatternMatch? other, bool ignoreCase) 68public int CompareTo(PatternMatch other, bool ignoreCase)
PatternMatching\PatternMatcher.cs (7)
107public abstract bool AddMatches(string? candidate, ref TemporaryArray<PatternMatch> matches); 136private PatternMatch? MatchPatternChunk( 147private static PatternMatch? FuzzyMatchPatternChunk( 162private PatternMatch? NonFuzzyMatchPatternChunk( 341ref TemporaryArray<PatternMatch> matches, 398using var tempMatches = TemporaryArray<PatternMatch>.Empty; 453private PatternMatch? TryCamelCaseMatch(
PatternMatching\PatternMatcherExtensions.cs (2)
13public static PatternMatch? GetFirstMatch(this PatternMatcher matcher, string? candidate) 15using var matches = TemporaryArray<PatternMatch>.Empty;
PatternMatching\SimplePatternMatcher.cs (1)
44public override bool AddMatches(string candidate, ref TemporaryArray<PatternMatch> matches)