1 write to _patternSegments
Microsoft.CodeAnalysis.Workspaces (1)
PatternMatching\ContainerPatternMatcher.cs (1)
28_patternSegments = [.. patternParts.Select(text => new PatternSegment(text.Trim(), allowFuzzyMatching: allowFuzzyMatching))];
7 references to _patternSegments
Microsoft.CodeAnalysis.Workspaces (7)
PatternMatching\ContainerPatternMatcher.cs (7)
30_invalidPattern = _patternSegments.Length == 0 || _patternSegments.Any(s => s.IsInvalid); 37foreach (var segment in _patternSegments) 65var relevantDotSeparatedSegmentLength = _patternSegments.Length; 66if (_patternSegments.Length > containerParts.Length) 76for (int i = _patternSegments.Length - 1, j = containerParts.Length - 1; 81if (!MatchPatternSegment(containerName, ref _patternSegments[i], ref tempContainerMatches.AsRef(), fuzzyMatch))