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);
37
foreach (var segment in
_patternSegments
)
65
var relevantDotSeparatedSegmentLength =
_patternSegments
.Length;
66
if (
_patternSegments
.Length > containerParts.Length)
76
for (int i =
_patternSegments
.Length - 1, j = containerParts.Length - 1;
81
if (!MatchPatternSegment(containerName, ref
_patternSegments
[i], ref tempContainerMatches.AsRef(), fuzzyMatch))