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)
184var caseInsensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, CompareOptions.IgnoreCase); 190if (patternChunk.Text.Length == candidateLength) 194PatternMatchKind.Exact, punctuationStripped, isCaseSensitive: candidate == patternChunk.Text, 199var isCaseSensitive = _compareInfo.IsPrefix(candidate, patternChunk.Text); 220PatternMatchKind.Prefix, punctuationStripped, isCaseSensitive, matchedSpan: GetMatchedSpan(0, patternChunk.Text.Length)); 237var caseSensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, startIndex: caseInsensitiveIndex, CompareOptions.None); 245matchedSpan: GetMatchedSpan(caseSensitiveIndex, patternChunk.Text.Length)); 260matchedSpan: GetMatchedSpan(caseInsensitiveIndex, patternChunk.Text.Length)); 271if (PartStartsWith(candidate, hump, patternChunk.Text, CompareOptions.IgnoreCase)) 274isCaseSensitive: PartStartsWith(candidate, hump, patternChunk.Text, CompareOptions.None), 275matchedSpan: GetMatchedSpan(hump.Start, patternChunk.Text.Length)); 300if (patternIsLowercase && caseInsensitiveIndex > 0 && patternChunk.Text.Length >= 3) 302var caseSensitiveIndex = _compareInfo.IndexOf(candidate, patternChunk.Text, startIndex: caseInsensitiveIndex, CompareOptions.None); 307matchedSpan: GetMatchedSpan(caseSensitiveIndex, patternChunk.Text.Length)); 361if (!ContainsSpaceOrAsterisk(segment.TotalTextChunk.Text)) 511var matcher = new AllLowerCamelCaseMatcher(_includeMatchedSpans, candidate, patternChunk.Text, _textInfo); 578if (!char.IsUpper(patternChunk.Text[patternHumps[currentPatternHump - 1].Start]) || 579!char.IsUpper(patternChunk.Text[patternHumps[currentPatternHump].Start])) 585if (!PartStartsWith(candidate, candidateHump, patternChunk.Text, patternChunkCharacterSpan, compareOption))