1 write to Text
Microsoft.CodeAnalysis.Workspaces (1)
PatternMatching\PatternMatcher.TextChunk.cs (1)
41this.Text = text;
20 references to Text
Microsoft.CodeAnalysis.Workspaces (20)
PatternMatching\PatternMatcher.cs (20)
154var caseInsensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, CompareOptions.IgnoreCase); 160if (patternChunk.Text.Length == candidateLength) 164PatternMatchKind.Exact, punctuationStripped, isCaseSensitive: candidate == patternChunk.Text, 171PatternMatchKind.Prefix, punctuationStripped, isCaseSensitive: _compareInfo.IsPrefix(candidate, patternChunk.Text), 172matchedSpan: GetMatchedSpan(0, patternChunk.Text.Length)); 191var caseSensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, CompareOptions.None); 198matchedSpan: GetMatchedSpan(caseInsensitiveIndex, patternChunk.Text.Length)); 204matchedSpan: GetMatchedSpan(caseSensitiveIndex, patternChunk.Text.Length)); 220matchedSpan: GetMatchedSpan(caseInsensitiveIndex, patternChunk.Text.Length)); 230if (PartStartsWith(candidate, hump, patternChunk.Text, CompareOptions.IgnoreCase)) 233isCaseSensitive: PartStartsWith(candidate, hump, patternChunk.Text, CompareOptions.None), 234matchedSpan: GetMatchedSpan(hump.Start, patternChunk.Text.Length)); 258if (patternIsLowercase && caseInsensitiveIndex > 0 && patternChunk.Text.Length >= 3) 260var caseSensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, CompareOptions.None); 265matchedSpan: GetMatchedSpan(caseSensitiveIndex, patternChunk.Text.Length)); 321if (!ContainsSpaceOrAsterisk(segment.TotalTextChunk.Text)) 471var matcher = new AllLowerCamelCaseMatcher(_includeMatchedSpans, candidate, patternChunk.Text, _textInfo); 537if (!char.IsUpper(patternChunk.Text[patternHumps[currentPatternHump - 1].Start]) || 538!char.IsUpper(patternChunk.Text[patternHumps[currentPatternHump].Start])) 544if (!PartStartsWith(candidate, candidateHump, patternChunk.Text, patternChunkCharacterSpan, compareOption))