1 write to Text
Microsoft.CodeAnalysis.Workspaces (1)
PatternMatching\PatternMatcher.TextChunk.cs (1)
44this.Text = text;
19 references to Text
Microsoft.CodeAnalysis.Workspaces (19)
PatternMatching\PatternMatcher.cs (19)
171var caseInsensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, CompareOptions.IgnoreCase); 177if (patternChunk.Text.Length == candidateLength) 181PatternMatchKind.Exact, punctuationStripped, isCaseSensitive: candidate == patternChunk.Text, 186var isCaseSensitive = _compareInfo.IsPrefix(candidate, patternChunk.Text); 207PatternMatchKind.Prefix, punctuationStripped, isCaseSensitive, matchedSpan: GetMatchedSpan(0, patternChunk.Text.Length)); 224var caseSensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, startIndex: caseInsensitiveIndex, CompareOptions.None); 232matchedSpan: GetMatchedSpan(caseSensitiveIndex, patternChunk.Text.Length)); 247matchedSpan: GetMatchedSpan(caseInsensitiveIndex, patternChunk.Text.Length)); 258if (PartStartsWith(candidate, hump, patternChunk.Text, CompareOptions.IgnoreCase)) 261isCaseSensitive: PartStartsWith(candidate, hump, patternChunk.Text, CompareOptions.None), 262matchedSpan: GetMatchedSpan(hump.Start, patternChunk.Text.Length)); 287if (patternIsLowercase && caseInsensitiveIndex > 0 && patternChunk.Text.Length >= 3) 289var caseSensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, startIndex: caseInsensitiveIndex, CompareOptions.None); 294matchedSpan: GetMatchedSpan(caseSensitiveIndex, patternChunk.Text.Length)); 356if (!ContainsSpaceOrAsterisk(segment.TotalTextChunk.Text)) 509var matcher = new AllLowerCamelCaseMatcher(_includeMatchedSpans, candidate, patternChunk.Text, _textInfo); 576if (!char.IsUpper(patternChunk.Text[patternHumps[currentPatternHump - 1].Start]) || 577!char.IsUpper(patternChunk.Text[patternHumps[currentPatternHump].Start])) 583if (!PartStartsWith(candidate, candidateHump, patternChunk.Text, patternChunkCharacterSpan, compareOption))