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