3 instantiations of TextChunk
Microsoft.CodeAnalysis.Workspaces (3)
PatternMatching\PatternMatcher.PatternSegment.cs (3)
36
this.TotalTextChunk = new
TextChunk
(text, allowFuzzyMatching);
108
result[resultIndex++] = new
TextChunk
(pattern.Substring(wordStart, wordLength), allowFuzzyMatching);
116
result[resultIndex++] = new
TextChunk
(pattern.Substring(wordStart, wordLength), allowFuzzyMatching);
13 references to TextChunk
Microsoft.CodeAnalysis.Workspaces (13)
PatternMatching\PatternMatcher.cs (7)
124
in
TextChunk
patternChunk,
135
in
TextChunk
patternChunk,
149
in
TextChunk
patternChunk,
365
foreach (
var
subWordTextChunk in subWordTextChunks)
420
in
TextChunk
patternChunk,
468
in
TextChunk
patternChunk,
478
in
TextChunk
patternChunk,
PatternMatching\PatternMatcher.PatternSegment.cs (6)
26
public
TextChunk
TotalTextChunk;
32
public readonly
TextChunk
[] SubWordTextChunks;
43
foreach (
var
chunk in this.SubWordTextChunks)
80
private static
TextChunk
[] BreakPatternIntoSubWords(string pattern, bool allowFuzzyMatching)
86
return Array.Empty<
TextChunk
>();
89
var result = new
TextChunk
[partCount];