2 instantiations of TextChunk
Microsoft.CodeAnalysis.Workspaces (2)
PatternMatching\PatternMatcher.PatternSegment.cs (2)
102
result[resultIndex++] = new
TextChunk
(pattern.Substring(wordStart, wordLength), allowFuzzyMatching);
110
result[resultIndex++] = new
TextChunk
(pattern.Substring(wordStart, wordLength), allowFuzzyMatching);
11 references to TextChunk
Microsoft.CodeAnalysis.Workspaces (11)
PatternMatching\PatternMatcher.cs (6)
137
ref
TextChunk
patternChunk,
148
ref
TextChunk
patternChunk,
163
in
TextChunk
patternChunk,
454
in
TextChunk
patternChunk,
505
in
TextChunk
patternChunk,
515
in
TextChunk
patternChunk,
PatternMatching\PatternMatcher.PatternSegment.cs (5)
26
public
TextChunk
TotalTextChunk = new TextChunk(text, allowFuzzyMatching);
32
public readonly
TextChunk
[] SubWordTextChunks = BreakPatternIntoSubWords(text, allowFuzzyMatching);
37
foreach (
var
chunk in this.SubWordTextChunks)
74
private static
TextChunk
[] BreakPatternIntoSubWords(string pattern, bool allowFuzzyMatching)
83
var result = new
TextChunk
[partCount];