1 write to Text
Microsoft.CodeAnalysis.Workspaces (1)
PatternMatching\PatternMatcher.TextChunk.cs (1)
37this.Text = text;
19 references to Text
Microsoft.CodeAnalysis.Workspaces (19)
PatternMatching\PatternMatcher.cs (19)
155var caseInsensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, CompareOptions.IgnoreCase); 161if (patternChunk.Text.Length == candidateLength) 165PatternMatchKind.Exact, punctuationStripped, isCaseSensitive: candidate == patternChunk.Text, 170var isCaseSensitive = _compareInfo.IsPrefix(candidate, patternChunk.Text); 191PatternMatchKind.Prefix, punctuationStripped, isCaseSensitive, matchedSpan: GetMatchedSpan(0, patternChunk.Text.Length)); 208var caseSensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, startIndex: caseInsensitiveIndex, CompareOptions.None); 216matchedSpan: GetMatchedSpan(caseSensitiveIndex, patternChunk.Text.Length)); 231matchedSpan: GetMatchedSpan(caseInsensitiveIndex, patternChunk.Text.Length)); 242if (PartStartsWith(candidate, hump, patternChunk.Text, CompareOptions.IgnoreCase)) 245isCaseSensitive: PartStartsWith(candidate, hump, patternChunk.Text, CompareOptions.None), 246matchedSpan: GetMatchedSpan(hump.Start, patternChunk.Text.Length)); 271if (patternIsLowercase && caseInsensitiveIndex > 0 && patternChunk.Text.Length >= 3) 273var caseSensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, startIndex: caseInsensitiveIndex, CompareOptions.None); 278matchedSpan: GetMatchedSpan(caseSensitiveIndex, patternChunk.Text.Length)); 332if (!ContainsSpaceOrAsterisk(segment.TotalTextChunk.Text)) 482var matcher = new AllLowerCamelCaseMatcher(_includeMatchedSpans, candidate, patternChunk.Text, _textInfo); 549if (!char.IsUpper(patternChunk.Text[patternHumps[currentPatternHump - 1].Start]) || 550!char.IsUpper(patternChunk.Text[patternHumps[currentPatternHump].Start])) 556if (!PartStartsWith(candidate, candidateHump, patternChunk.Text, patternChunkCharacterSpan, compareOption))