7 references to GetMatchedSpan
Microsoft.CodeAnalysis.Workspaces (7)
PatternMatching\PatternMatcher.cs (6)
195
matchedSpan:
GetMatchedSpan
(0, candidateLength));
220
PatternMatchKind.Prefix, punctuationStripped, isCaseSensitive, matchedSpan:
GetMatchedSpan
(0, patternChunk.Text.Length));
245
matchedSpan:
GetMatchedSpan
(caseSensitiveIndex, patternChunk.Text.Length));
260
matchedSpan:
GetMatchedSpan
(caseInsensitiveIndex, patternChunk.Text.Length));
275
matchedSpan:
GetMatchedSpan
(hump.Start, patternChunk.Text.Length));
307
matchedSpan:
GetMatchedSpan
(caseSensitiveIndex, patternChunk.Text.Length));
PatternMatching\RegexPatternMatcher.cs (1)
75
var matchedSpan =
GetMatchedSpan
(bestMatch.Index, bestMatch.Length);