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)
127
ref
TextChunk
patternChunk,
138
ref
TextChunk
patternChunk,
153
in
TextChunk
patternChunk,
424
in
TextChunk
patternChunk,
475
in
TextChunk
patternChunk,
485
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];