1 write to Text
Microsoft.CodeAnalysis.Workspaces (1)
PatternMatching\PatternMatcher.TextChunk.cs (1)
45this.Text = text;
18 references to Text
Microsoft.CodeAnalysis.Workspaces (18)
PatternMatching\PatternMatcher.cs (18)
170var caseInsensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, CompareOptions.IgnoreCase); 176if (patternChunk.Text.Length == candidateLength) 180PatternMatchKind.Exact, punctuationStripped, isCaseSensitive: candidate == patternChunk.Text, 185var isCaseSensitive = _compareInfo.IsPrefix(candidate, patternChunk.Text); 206PatternMatchKind.Prefix, punctuationStripped, isCaseSensitive, matchedSpan: GetMatchedSpan(0, patternChunk.Text.Length)); 223var caseSensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, startIndex: caseInsensitiveIndex, CompareOptions.None); 231matchedSpan: GetMatchedSpan(caseSensitiveIndex, patternChunk.Text.Length)); 246matchedSpan: GetMatchedSpan(caseInsensitiveIndex, patternChunk.Text.Length)); 257if (PartStartsWith(candidate, hump, patternChunk.Text, CompareOptions.IgnoreCase)) 260isCaseSensitive: PartStartsWith(candidate, hump, patternChunk.Text, CompareOptions.None), 261matchedSpan: GetMatchedSpan(hump.Start, patternChunk.Text.Length)); 286if (patternIsLowercase && caseInsensitiveIndex > 0 && patternChunk.Text.Length >= 3) 288var caseSensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, startIndex: caseInsensitiveIndex, CompareOptions.None); 293matchedSpan: GetMatchedSpan(caseSensitiveIndex, patternChunk.Text.Length)); 508var matcher = new AllLowerCamelCaseMatcher(_includeMatchedSpans, candidate, patternChunk.Text, _textInfo); 575if (!char.IsUpper(patternChunk.Text[patternHumps[currentPatternHump - 1].Start]) || 576!char.IsUpper(patternChunk.Text[patternHumps[currentPatternHump].Start])) 582if (!PartStartsWith(candidate, candidateHump, patternChunk.Text, patternChunkCharacterSpan, compareOption))